Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.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.001546/0.001546, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001646/0.001646, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.418/1.418, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2278/0.2278, allocations: 46.89 MB / 361.1 MB, free: 4.625 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: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2") [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.002279/0.002279, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3559, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01826/0.3741, allocations: 15.51 MB / 0.5764 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3865, allocations: 5.101 MB / 0.5813 GB, free: 324 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.3901, allocations: 111.6 kB / 0.5815 GB, free: 212 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009961/0.4001, allocations: 5.07 MB / 0.5864 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006929/0.407, allocations: 2.576 MB / 0.5889 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.41, allocations: 1.259 MB / 0.5902 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.422, allocations: 7.929 MB / 0.5979 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006401/0.4284, allocations: 4.319 MB / 0.6021 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/0.4331, allocations: 2.527 MB / 0.6046 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005984/0.439, allocations: 3.684 MB / 0.6082 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.4406, allocations: 0.5352 MB / 0.6087 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.4437, allocations: 1.592 MB / 0.6103 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003832/0.4475, allocations: 3.218 MB / 0.6134 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004886/0.4524, allocations: 3.461 MB / 0.6168 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.4669, allocations: 10.83 MB / 0.6274 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4669, allocations: 0 / 0.6274 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4669, allocations: 0 / 0.6274 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002701/0.4672, allocations: 0 / 0.6274 GB, free: 0.9766 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01809/0.4852, allocations: 7.694 MB / 0.6349 GB, free: 9.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4853, allocations: 8.031 kB / 0.6349 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.5002, allocations: 3.082 MB / 0.6379 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.5126, allocations: 4.831 MB / 0.6426 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/0.513, allocations: 365.6 kB / 0.643 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.5148, allocations: 495.8 kB / 0.6434 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.5416, allocations: 14.25 MB / 0.6573 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/0.5418, allocations: 75.45 kB / 0.6574 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006214/0.5424, allocations: 227.8 kB / 0.6576 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004489/0.5469, allocations: 2.535 MB / 0.6601 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.5718, allocations: 11.78 MB / 0.6716 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/0.6487, allocations: 55.79 MB / 0.7261 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.6612, allocations: 4.523 MB / 0.7305 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.6652, allocations: 2.729 MB / 0.7332 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.6653, allocations: 44.94 kB / 0.7332 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.6654, allocations: 56.19 kB / 0.7333 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.919e-06/0.6654, allocations: 0 / 0.7333 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3465/1.012, allocations: 23.62 MB / 0.7563 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.012, allocations: 259.4 kB / 0.7566 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00855/1.02, allocations: 6.72 MB / 0.7631 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005176/1.021, allocations: 61.3 kB / 0.7632 GB, free: 140 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.023, allocations: 4.631 MB / 0.7677 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008296/1.024, allocations: 0.8676 MB / 0.7686 GB, free: 135 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/1.026, allocations: 1.685 MB / 0.7702 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.632e-05/1.026, allocations: 301.1 kB / 0.7705 GB, free: 133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/1.029, allocations: 2.885 MB / 0.7733 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/1.034, allocations: 7.793 MB / 0.7809 GB, free: 120 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009185/1.043, allocations: 11.41 MB / 0.7921 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.043, allocations: 52 kB / 0.7921 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.01979/1.063, allocations: 11.91 MB / 0.8038 GB, free: 94.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/1.063, allocations: 80.06 kB / 0.8038 GB, free: 94.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003043/1.063, allocations: 172 kB / 0.804 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/1.068, allocations: 1.767 MB / 0.8057 GB, free: 92.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/1.073, allocations: 1.918 MB / 0.8076 GB, free: 90.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.086, allocations: 12.41 MB / 0.8197 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007455/1.093, allocations: 455.5 kB / 0.8202 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.095, allocations: 488 kB / 0.8206 GB, free: 76.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (994): * Single equations (assignments): 988 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005597/1.1, allocations: 2.961 MB / 0.8235 GB, free: 73.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.102, allocations: 0.5704 MB / 0.8241 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007909/1.11, allocations: 4.814 MB / 0.8288 GB, free: 68.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/1.11, allocations: 11.97 kB / 0.8288 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.11, allocations: 0 / 0.8288 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.111, allocations: 0.6493 MB / 0.8294 GB, free: 67.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009691/1.112, allocations: 32 kB / 0.8294 GB, free: 67.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.114, allocations: 147.6 kB / 0.8296 GB, free: 67.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.115, allocations: 137.2 kB / 0.8297 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00857/1.123, allocations: 5.379 MB / 0.835 GB, free: 61.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006687/1.13, allocations: 6.581 MB / 0.8414 GB, free: 55.17 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001576/1.132, allocations: 1.558 MB / 0.8429 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005478/1.137, allocations: 4.281 MB / 0.8471 GB, free: 49.35 MB / 0.5606 GB Notification: Performance of Backend: time 2.9e-07/1.137, allocations: 0 / 0.8471 GB, free: 49.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.148, allocations: 5.578 MB / 0.8525 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01952/1.168, allocations: 14.05 MB / 0.8663 GB, free: 29.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.1188/1.287, allocations: 68.95 MB / 0.9336 GB, free: 9.059 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.768835332244635] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w'] 1.2960731419734657 1.30978726 0.839595893 Calling exit ...