Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3099/0.3099, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 83.84 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01513/0.1571, allocations: 12 MB / 0.5679 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1679, allocations: 4.407 MB / 0.5722 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.171, allocations: 83.62 kB / 0.5723 GB, free: 5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007023/0.178, allocations: 2.787 MB / 0.575 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.1854, allocations: 2.054 MB / 0.577 GB, free: 148 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.1883, allocations: 1.01 MB / 0.578 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009642/0.1979, allocations: 5.369 MB / 0.5832 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00463/0.2025, allocations: 2.96 MB / 0.5861 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.2061, allocations: 1.772 MB / 0.5878 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0044/0.2105, allocations: 2.64 MB / 0.5904 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.2116, allocations: 368 kB / 0.5908 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.2149, allocations: 1.443 MB / 0.5922 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3438/0.5588, allocations: 2.24 MB / 0.5944 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006588/0.5653, allocations: 2.555 MB / 0.5969 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.5847, allocations: 8.222 MB / 0.6049 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5847, allocations: 0.8438 kB / 0.6049 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5847, allocations: 0.5312 kB / 0.6049 GB, free: 9.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003966/0.5851, allocations: 0.9375 kB / 0.6049 GB, free: 9.172 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02731/0.6124, allocations: 6.02 MB / 0.6108 GB, free: 6.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6124, allocations: 10.47 kB / 0.6108 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003788/0.6162, allocations: 0.7968 MB / 0.6116 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0923/0.7085, allocations: 7.245 MB / 0.6186 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.719, allocations: 3.614 MB / 0.6222 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.7194, allocations: 257.4 kB / 0.6224 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/0.7222, allocations: 353.4 kB / 0.6228 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.7474, allocations: 12.29 MB / 0.6348 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.7476, allocations: 47.39 kB / 0.6348 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/0.7482, allocations: 166.4 kB / 0.635 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004063/0.7523, allocations: 2.378 MB / 0.6373 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.777, allocations: 10.7 MB / 0.6477 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07331/0.8504, allocations: 48.66 MB / 0.6952 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.8668, allocations: 5.631 MB / 0.7007 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.8713, allocations: 2.825 MB / 0.7035 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/0.8924, allocations: 13.02 MB / 0.7162 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.8924, allocations: 55.34 kB / 0.7163 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 6.583e-06/0.8925, allocations: 4 kB / 0.7163 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1273/1.02, allocations: 38.91 MB / 0.7543 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/1.02, allocations: 213 kB / 0.7545 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008286/1.028, allocations: 4.389 MB / 0.7588 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008806/1.029, allocations: 61.7 kB / 0.7588 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003166/1.032, allocations: 3.564 MB / 0.7623 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.034, allocations: 0.9929 MB / 0.7633 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.037, allocations: 1.383 MB / 0.7646 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.037, allocations: 301.1 kB / 0.7649 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005402/1.042, allocations: 3.113 MB / 0.768 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009575/1.052, allocations: 7.046 MB / 0.7748 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/1.068, allocations: 10.96 MB / 0.7855 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/1.068, allocations: 44 kB / 0.7856 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02907/1.097, allocations: 12.65 MB / 0.7979 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/1.097, allocations: 67.94 kB / 0.798 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000279/1.098, allocations: 140 kB / 0.7981 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/1.108, allocations: 3.24 MB / 0.8013 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/1.116, allocations: 1.536 MB / 0.8028 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/1.145, allocations: 16.62 MB / 0.819 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.152, allocations: 431.4 kB / 0.8194 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.154, allocations: 407.1 kB / 0.8198 GB, free: 12.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007345/1.161, allocations: 2.345 MB / 0.8221 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.163, allocations: 425.2 kB / 0.8225 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02017/1.183, allocations: 7.483 MB / 0.8298 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/1.183, allocations: 28 kB / 0.8299 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/1.183, allocations: 8 kB / 0.8299 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.791e-05/1.183, allocations: 15.95 kB / 0.8299 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3711/1.554, allocations: 15 MB / 0.8445 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.554, allocations: 1.219 kB / 0.8445 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/1.557, allocations: 380.7 kB / 0.8449 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009275/1.566, allocations: 2.921 MB / 0.8477 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009309/1.567, allocations: 39.53 kB / 0.8478 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/1.586, allocations: 14.83 MB / 0.8623 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.586, allocations: 0 / 0.8623 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.604, allocations: 11.47 MB / 0.8735 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.606, allocations: 476.6 kB / 0.8739 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.607, allocations: 38.03 kB / 0.8739 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.609, allocations: 200.8 kB / 0.8741 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/1.61, allocations: 137.8 kB / 0.8743 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.61, allocations: 67.98 kB / 0.8743 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004368/1.614, allocations: 2.742 MB / 0.877 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.614, allocations: 0 / 0.877 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007543/1.622, allocations: 1.302 MB / 0.8783 GB, free: 200.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0186/1.64, allocations: 12.13 MB / 0.8901 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.652, allocations: 7.525 MB / 0.8975 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.652, allocations: 0 / 0.8975 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004509/1.657, allocations: 2.893 MB / 0.9003 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/1.66, allocations: 0.5099 MB / 0.9008 GB, free: 177.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/1.767, allocations: 60.67 MB / 0.9601 GB, free: 110.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/1.775, allocations: 3.668 MB / 0.9636 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006077/1.781, allocations: 2.173 MB / 0.9658 GB, free: 104.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004606/1.785, allocations: 2.218 MB / 0.9679 GB, free: 102.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.252e-06/1.785, allocations: 3.5 kB / 0.9679 GB, free: 102.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.938, allocations: 94.93 MB / 1.061 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.66/29.6, allocations: 7.984 kB / 1.061 GB, free: 7.859 MB / 0.6387 GB " [Timeout remaining time 630] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.27880619093776] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 29.74203411489725 30.006377122 29.170026635 Calling exit ...