Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001682/0.001682, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002023/0.002023, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.489/1.489, allocations: 230.4 MB / 254.7 MB, free: 15.06 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.93 MB / 357.7 MB, free: 10.22 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.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.002299/0.002299, allocations: 75.88 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 66.04 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0116/0.1456, allocations: 9.548 MB / 0.5655 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008023/0.1536, allocations: 3.835 MB / 0.5692 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1553, allocations: 67.69 kB / 0.5693 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00518/0.1604, allocations: 2.788 MB / 0.572 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.1648, allocations: 1.657 MB / 0.5736 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1665, allocations: 0.7135 MB / 0.5743 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.1721, allocations: 3.895 MB / 0.5781 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.176, allocations: 3.05 MB / 0.5811 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.1783, allocations: 1.425 MB / 0.5825 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.1811, allocations: 2.048 MB / 0.5845 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005845/0.1817, allocations: 312 kB / 0.5848 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.1839, allocations: 1.225 MB / 0.586 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.1859, allocations: 1.792 MB / 0.5878 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.1891, allocations: 2.082 MB / 0.5898 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.273/0.4621, allocations: 6.855 MB / 0.5965 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.4621, allocations: 1.375 kB / 0.5965 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4621, allocations: 2.297 kB / 0.5965 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003018/0.4624, allocations: 1.875 kB / 0.5965 GB, free: 14.16 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01556/0.478, allocations: 4.577 MB / 0.601 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.478, allocations: 11.2 kB / 0.601 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001684/0.4797, allocations: 0.6564 MB / 0.6016 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08404/0.5638, allocations: 7.062 MB / 0.6085 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007614/0.5714, allocations: 2.686 MB / 0.6111 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/0.5717, allocations: 220 kB / 0.6113 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.5737, allocations: 291.3 kB / 0.6116 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.592, allocations: 8.664 MB / 0.6201 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.5923, allocations: 39.17 kB / 0.6201 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.5937, allocations: 137.3 kB / 0.6202 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.5965, allocations: 1.654 MB / 0.6219 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.6097, allocations: 7.093 MB / 0.6288 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.6545, allocations: 33.27 MB / 0.6613 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.6597, allocations: 2.288 MB / 0.6635 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.6616, allocations: 1.138 MB / 0.6646 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.662, allocations: 324 kB / 0.6649 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.662, allocations: 50.5 kB / 0.665 GB, free: 15.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.927e-06/0.662, allocations: 0 / 0.665 GB, free: 15.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02769/0.6897, allocations: 10.68 MB / 0.6754 GB, free: 4.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.6898, allocations: 208.3 kB / 0.6756 GB, free: 4.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/0.6952, allocations: 3.591 MB / 0.6791 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.6955, allocations: 45.7 kB / 0.6792 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/0.6977, allocations: 2.952 MB / 0.682 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000753/0.6985, allocations: 0.5748 MB / 0.6826 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.7, allocations: 1.08 MB / 0.6837 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7001, allocations: 305.1 kB / 0.6839 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/0.703, allocations: 1.697 MB / 0.6856 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/0.7085, allocations: 5.067 MB / 0.6905 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009288/0.7178, allocations: 7.331 MB / 0.6977 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.7179, allocations: 36 kB / 0.6977 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01239/0.7302, allocations: 6.743 MB / 0.7043 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.7303, allocations: 59.98 kB / 0.7044 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.7305, allocations: 120 kB / 0.7045 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.7315, allocations: 434 kB / 0.7049 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.7352, allocations: 1.205 MB / 0.7061 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.7396, allocations: 3.597 MB / 0.7096 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/0.7433, allocations: 304 kB / 0.7099 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/0.744, allocations: 326.6 kB / 0.7102 GB, free: 14.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (644): * Single equations (assignments): 640 * 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 {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003332/0.7473, allocations: 1.943 MB / 0.7121 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/0.748, allocations: 321.8 kB / 0.7124 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.752, allocations: 1.874 MB / 0.7142 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.752, allocations: 19.98 kB / 0.7143 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.752, allocations: 4 kB / 0.7143 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.752, allocations: 11.97 kB / 0.7143 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.7642, allocations: 5.752 MB / 0.7199 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.7642, allocations: 7.438 kB / 0.7199 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.7653, allocations: 211.7 kB / 0.7201 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008009/0.7661, allocations: 256.6 kB / 0.7203 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.7662, allocations: 27.98 kB / 0.7204 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.77, allocations: 3.164 MB / 0.7235 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.77, allocations: 4.031 kB / 0.7235 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006782/0.7768, allocations: 3.955 MB / 0.7273 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7779, allocations: 374.8 kB / 0.7277 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.7782, allocations: 23.75 kB / 0.7277 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7794, allocations: 71.98 kB / 0.7278 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.7797, allocations: 99.3 kB / 0.7279 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7798, allocations: 43.97 kB / 0.7279 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00377/0.7836, allocations: 2.238 MB / 0.7301 GB, free: 9.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7836, allocations: 0 / 0.7301 GB, free: 9.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00437/0.7879, allocations: 0.8195 MB / 0.7309 GB, free: 8.848 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (107): * Single equations (assignments): 103 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006886/0.7948, allocations: 4.591 MB / 0.7354 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007157/0.802, allocations: 3.963 MB / 0.7393 GB, free: 288 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.802, allocations: 4 kB / 0.7393 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.8038, allocations: 1.105 MB / 0.7403 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.8063, allocations: 402.2 kB / 0.7407 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06258/0.8689, allocations: 37.9 MB / 0.7777 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003712/0.8726, allocations: 3.037 MB / 0.7807 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003974/0.8766, allocations: 1.713 MB / 0.7824 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/0.8794, allocations: 1.655 MB / 0.784 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of SimCode: time 1.773e-06/0.8794, allocations: 4 kB / 0.784 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.9942, allocations: 56.89 MB / 0.8396 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/23.48, allocations: 17.92 kB / 0.8396 GB, free: 4.809 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.85817387001589] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 23.60524305002764 23.846850798 23.381742368 Calling exit ...