Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 83.52 kB / 20.02 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8721/0.8721, allocations: 158.6 MB / 185.1 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1356/0.1356, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 407.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.024e-05, allocations: 6.078 kB / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01497/0.015, allocations: 13.24 MB / 420.3 MB, free: 4.828 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.02787, allocations: 4.902 MB / 425.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004407/0.03228, allocations: 123.3 kB / 425.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005904/0.03819, allocations: 4.282 MB / 429.6 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.0442, allocations: 2.585 MB / 432.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.04642, allocations: 1.189 MB / 433.4 MB, free: 7.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008086/0.05451, allocations: 7.841 MB / 441.2 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00657/0.06108, allocations: 4.898 MB / 446.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/0.0687, allocations: 3.652 MB / 449.8 MB, free: 7.211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005346/0.07404, allocations: 3.531 MB / 453.3 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.07588, allocations: 0.5195 MB / 453.8 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.07897, allocations: 1.354 MB / 455.2 MB, free: 1.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003675/0.08265, allocations: 3.074 MB / 458.3 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.08633, allocations: 2.08 MB / 460.3 MB, free: 12.63 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.09989, allocations: 10.71 MB / 471.1 MB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.0999, allocations: 0 / 471.1 MB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.0999, allocations: 0 / 471.1 MB, free: 1.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004372/0.1003, allocations: 0 / 471.1 MB, free: 1.883 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.1963/0.2966, allocations: 7.569 MB / 478.6 MB, free: 95.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2967, allocations: 9.438 kB / 478.6 MB, free: 95.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001357/0.298, allocations: 0.9641 MB / 479.6 MB, free: 94.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07672/0.3748, allocations: 13.03 MB / 492.6 MB, free: 93.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009536/0.3843, allocations: 4.953 MB / 497.6 MB, free: 91.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.3846, allocations: 334.5 kB / 497.9 MB, free: 91.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.3862, allocations: 463 kB / 498.4 MB, free: 91.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.4069, allocations: 13.61 MB / 0.5 GB, free: 84.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.4071, allocations: 66.16 kB / 0.5 GB, free: 84.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004718/0.4076, allocations: 215.1 kB / 0.5002 GB, free: 84.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00247/0.4101, allocations: 2.655 MB / 0.5028 GB, free: 82.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.4254, allocations: 11.52 MB / 0.5141 GB, free: 70.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/0.4682, allocations: 50.91 MB / 0.5638 GB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.4763, allocations: 5.144 MB / 0.5688 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.4789, allocations: 3.154 MB / 0.5719 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.4792, allocations: 250.4 kB / 0.5721 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.4793, allocations: 60.5 kB / 0.5722 GB, free: 9.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=254): time 6.031e-06/0.4793, allocations: 0 / 0.5722 GB, free: 9.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=324): time 0.0626/0.5419, allocations: 36.76 MB / 0.6081 GB, free: 5.145 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.542, allocations: 265.4 kB / 0.6083 GB, free: 4.828 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008462/0.5505, allocations: 6.194 MB / 0.6144 GB, free: 14.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/0.5515, allocations: 77.7 kB / 0.6145 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.554, allocations: 4.164 MB / 0.6185 GB, free: 10.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.5558, allocations: 1.236 MB / 0.6197 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/0.5581, allocations: 1.548 MB / 0.6213 GB, free: 7.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.5582, allocations: 301.1 kB / 0.6215 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/0.5622, allocations: 3.466 MB / 0.6249 GB, free: 3.801 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/0.5696, allocations: 7.834 MB / 0.6326 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/0.5827, allocations: 12.11 MB / 0.6444 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/0.5828, allocations: 44 kB / 0.6444 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.2274/0.8102, allocations: 12.96 MB / 0.6571 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.8103, allocations: 70 kB / 0.6572 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.8105, allocations: 144.5 kB / 0.6573 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.8142, allocations: 2.255 MB / 0.6595 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.8183, allocations: 1.769 MB / 0.6612 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.8309, allocations: 16.14 MB / 0.677 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006263/0.8372, allocations: 0.5633 MB / 0.6775 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/0.8383, allocations: 450.1 kB / 0.678 GB, free: 142.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (931): * Single equations (assignments): 926 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005047/0.8433, allocations: 2.819 MB / 0.6807 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001981/0.8453, allocations: 0.5234 MB / 0.6812 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.8565, allocations: 7.404 MB / 0.6885 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/0.8566, allocations: 34.19 kB / 0.6885 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/0.8566, allocations: 9.625 kB / 0.6885 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.8567, allocations: 16.42 kB / 0.6885 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/0.8781, allocations: 15.76 MB / 0.7039 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.8781, allocations: 7.875 kB / 0.7039 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.8796, allocations: 0.5195 MB / 0.7044 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.8829, allocations: 2.004 MB / 0.7064 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.8831, allocations: 63.36 kB / 0.7064 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.895, allocations: 14.64 MB / 0.7207 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.895, allocations: 4 kB / 0.7208 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.9051, allocations: 11.85 MB / 0.7323 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.9069, allocations: 1.125 MB / 0.7334 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/0.9074, allocations: 67.92 kB / 0.7335 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.9089, allocations: 303.4 kB / 0.7338 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.9093, allocations: 221.4 kB / 0.734 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.9094, allocations: 90.72 kB / 0.7341 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003676/0.9131, allocations: 3.852 MB / 0.7378 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9131, allocations: 4 kB / 0.7378 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004364/0.9175, allocations: 1.737 MB / 0.7395 GB, free: 106.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.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 (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,17,46.9%), (7,17,46.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009258/0.9267, allocations: 12.57 MB / 0.7518 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007496/0.9342, allocations: 8.285 MB / 0.7599 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.9342, allocations: 4 kB / 0.7599 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.9388, allocations: 3.919 MB / 0.7637 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.9423, allocations: 0.7069 MB / 0.7644 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0679/1.01, allocations: 71.75 MB / 0.8345 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/1.014, allocations: 3.907 MB / 0.8383 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004094/1.018, allocations: 2.54 MB / 0.8408 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002884/1.021, allocations: 2.847 MB / 0.8436 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.914e-06/1.021, allocations: 0 / 0.8436 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/1.36, allocations: 120.5 MB / 0.9613 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.14, allocations: 7.844 kB / 0.9613 GB, free: 86.64 MB / 0.5261 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.33619656600058] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.v_rel_a[1]', 'prismatic1.s', 'prismatic1.v', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 14.276823060587049 14.282890481 14.181240171 Calling exit ...