Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001426/0.001426, allocations: 109.1 kB / 20.22 MB, free: 1.812 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.001557/0.001557, allocations: 220.9 kB / 23.48 MB, free: 5.254 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.552/1.552, allocations: 230.2 MB / 256.8 MB, free: 8.582 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.251/0.251, allocations: 46.89 MB / 360 MB, free: 4.738 MB / 286.1 MB " [Timeout remaining time 179] 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.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2",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.002309/0.002309, allocations: 83.86 kB / 0.4951 GB, free: 8.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.392, allocations: 65.99 MB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01812/0.4101, allocations: 14.75 MB / 0.5739 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4228, allocations: 5.039 MB / 0.5789 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.4262, allocations: 107.6 kB / 0.579 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009348/0.4356, allocations: 4.205 MB / 0.5831 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00919/0.4448, allocations: 2.381 MB / 0.5854 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.4484, allocations: 1.084 MB / 0.5865 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01389/0.4623, allocations: 7.157 MB / 0.5934 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007645/0.4699, allocations: 3.741 MB / 0.5971 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.4749, allocations: 2.235 MB / 0.5993 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006339/0.4812, allocations: 3.287 MB / 0.6025 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.4837, allocations: 496 kB / 0.603 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.4881, allocations: 1.393 MB / 0.6043 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004898/0.493, allocations: 2.816 MB / 0.6071 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007272/0.5003, allocations: 3.271 MB / 0.6103 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.5174, allocations: 10.14 MB / 0.6202 GB, free: 6.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5175, allocations: 0 / 0.6202 GB, free: 6.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.5175, allocations: 0 / 0.6202 GB, free: 6.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004565/0.5179, allocations: 4 kB / 0.6202 GB, free: 6.617 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.02829/0.5462, allocations: 7.306 MB / 0.6273 GB, free: 15.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5463, allocations: 8.031 kB / 0.6273 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003085/0.5493, allocations: 0.9261 MB / 0.6282 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1655/0.7148, allocations: 12.56 MB / 0.6405 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.7274, allocations: 5.085 MB / 0.6455 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.7278, allocations: 328.5 kB / 0.6458 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.7296, allocations: 451.7 kB / 0.6462 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03012/0.7597, allocations: 12.95 MB / 0.6588 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004277/0.7602, allocations: 71.47 kB / 0.6589 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.7619, allocations: 207.8 kB / 0.6591 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005133/0.767, allocations: 2.531 MB / 0.6616 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/0.7927, allocations: 11.14 MB / 0.6725 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07683/0.8695, allocations: 52.18 MB / 0.7234 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.8834, allocations: 5.329 MB / 0.7286 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004508/0.8879, allocations: 3.094 MB / 0.7316 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008141/0.8888, allocations: 0.6878 MB / 0.7323 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.8888, allocations: 60.5 kB / 0.7324 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 6.492e-06/0.8888, allocations: 0 / 0.7324 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.4019/1.291, allocations: 35.28 MB / 0.7668 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.291, allocations: 265.3 kB / 0.7671 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006784/1.298, allocations: 5.199 MB / 0.7722 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008853/1.299, allocations: 69.7 kB / 0.7722 GB, free: 130 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.301, allocations: 4.074 MB / 0.7762 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.302, allocations: 1.227 MB / 0.7774 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/1.304, allocations: 1.52 MB / 0.7789 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.304, allocations: 305.1 kB / 0.7792 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/1.308, allocations: 3.403 MB / 0.7825 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005901/1.314, allocations: 7.56 MB / 0.7899 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.326, allocations: 11.86 MB / 0.8015 GB, free: 96.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.326, allocations: 44 kB / 0.8015 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02219/1.348, allocations: 12.72 MB / 0.8139 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/1.349, allocations: 78.11 kB / 0.814 GB, free: 83.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.349, allocations: 148.1 kB / 0.8141 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005091/1.354, allocations: 2.239 MB / 0.8163 GB, free: 81.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.359, allocations: 1.723 MB / 0.818 GB, free: 79.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/1.376, allocations: 16.4 MB / 0.834 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007369/1.383, allocations: 447.4 kB / 0.8344 GB, free: 62.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.385, allocations: 443.9 kB / 0.8349 GB, free: 61.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (906): * Single equations (assignments): 901 * 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.005823/1.391, allocations: 2.733 MB / 0.8375 GB, free: 59.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.392, allocations: 0.5023 MB / 0.838 GB, free: 58.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.404, allocations: 7.268 MB / 0.8451 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/1.405, allocations: 32 kB / 0.8452 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/1.405, allocations: 12 kB / 0.8452 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/1.405, allocations: 27.81 kB / 0.8452 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/1.431, allocations: 16.08 MB / 0.8609 GB, free: 35.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/1.431, allocations: 4 kB / 0.8609 GB, free: 35.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.434, allocations: 0.4922 MB / 0.8614 GB, free: 34.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004648/1.438, allocations: 2.011 MB / 0.8633 GB, free: 32.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005844/1.439, allocations: 63.98 kB / 0.8634 GB, free: 32.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/1.455, allocations: 14.89 MB / 0.878 GB, free: 17.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.455, allocations: 11.94 kB / 0.878 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/1.471, allocations: 11.67 MB / 0.8894 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.473, allocations: 0.5522 MB / 0.8899 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/1.475, allocations: 59.98 kB / 0.89 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/1.479, allocations: 211.7 kB / 0.8902 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008576/1.48, allocations: 209.4 kB / 0.8904 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.48, allocations: 91.98 kB / 0.8904 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005707/1.486, allocations: 3.29 MB / 0.8937 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.486, allocations: 0 / 0.8937 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00914/1.495, allocations: 1.465 MB / 0.8951 GB, free: 15.61 MB / 0.5762 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 (253): * Single equations (assignments): 248 * 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.02262/1.517, allocations: 12.36 MB / 0.9072 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.533, allocations: 8.11 MB / 0.9151 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/1.533, allocations: 4 kB / 0.9151 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008969/1.542, allocations: 3.869 MB / 0.9189 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/1.547, allocations: 0.6905 MB / 0.9195 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4186/1.966, allocations: 68.28 MB / 0.9862 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004938/1.971, allocations: 4.281 MB / 0.9904 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005018/1.976, allocations: 2.461 MB / 0.9928 GB, free: 227.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/1.98, allocations: 2.706 MB / 0.9954 GB, free: 226 MB / 0.6544 GB Notification: Performance of SimCode: time 1.964e-06/1.98, allocations: 0 / 0.9954 GB, free: 226 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/2.134, allocations: 113.5 MB / 1.106 GB, free: 120.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.37/24.51, allocations: 3.859 kB / 1.106 GB, free: 120.8 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.769187103956938] 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'] 24.66351075505372 24.683395104 24.161430451 Calling exit ...