Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.001478/0.001478, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.00171/0.00171, allocations: 207 kB / 24.48 MB, free: 4.035 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.394/1.394, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2198/0.2198, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [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.002243/0.002243, allocations: 76.16 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2853, allocations: 66 MB / 0.5612 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01878/0.3041, allocations: 16.28 MB / 0.5771 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3149, allocations: 5.178 MB / 0.5822 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.3171, allocations: 111.7 kB / 0.5823 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.3279, allocations: 5.826 MB / 0.588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.3354, allocations: 2.653 MB / 0.5906 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.3384, allocations: 1.205 MB / 0.5917 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.3495, allocations: 7.199 MB / 0.5988 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.3568, allocations: 4.982 MB / 0.6036 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.3622, allocations: 2.66 MB / 0.6062 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/0.3699, allocations: 3.809 MB / 0.6099 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.3725, allocations: 0.582 MB / 0.6105 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.3764, allocations: 1.51 MB / 0.612 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003955/0.3803, allocations: 3.378 MB / 0.6153 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004737/0.3851, allocations: 3.69 MB / 0.6189 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.3991, allocations: 11.51 MB / 0.6301 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3991, allocations: 0 / 0.6301 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3991, allocations: 0 / 0.6301 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003801/0.3995, allocations: 0 / 0.6301 GB, free: 14.09 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2371 * Number of variables: 2371 Notification: Performance of Generate backend data structure: time 0.02171/0.4212, allocations: 8.165 MB / 0.6381 GB, free: 5.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4213, allocations: 16.02 kB / 0.6381 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.4352, allocations: 2.812 MB / 0.6409 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.4474, allocations: 4.51 MB / 0.6453 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004487/0.4478, allocations: 414.8 kB / 0.6457 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.4497, allocations: 0.5309 MB / 0.6462 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03375/0.4835, allocations: 16.08 MB / 0.6619 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.4838, allocations: 67.47 kB / 0.662 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.4853, allocations: 247.8 kB / 0.6622 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005679/0.491, allocations: 2.935 MB / 0.6651 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/0.5205, allocations: 13.55 MB / 0.6783 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.527/1.047, allocations: 63.05 MB / 0.7399 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0174/1.065, allocations: 6.986 MB / 0.7467 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.069, allocations: 4.027 MB / 0.7506 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/1.082, allocations: 10.28 MB / 0.7607 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.082, allocations: 68.97 kB / 0.7607 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 5.851e-06/1.082, allocations: 0 / 0.7607 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.09329/1.175, allocations: 35.45 MB / 0.7953 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/1.175, allocations: 239.5 kB / 0.7956 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007669/1.183, allocations: 7.012 MB / 0.8024 GB, free: 94.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000663/1.184, allocations: 77.58 kB / 0.8025 GB, free: 94.32 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/1.186, allocations: 4.829 MB / 0.8072 GB, free: 89.74 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.187, allocations: 1.264 MB / 0.8084 GB, free: 88.49 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.189, allocations: 1.881 MB / 0.8103 GB, free: 86.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/1.189, allocations: 305.1 kB / 0.8106 GB, free: 86.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/1.193, allocations: 3.832 MB / 0.8143 GB, free: 82.46 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005969/1.199, allocations: 9.017 MB / 0.8231 GB, free: 71.03 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.211, allocations: 13.81 MB / 0.8366 GB, free: 54.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.212, allocations: 52 kB / 0.8366 GB, free: 54.76 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1199) (initialization): time 0.02283/1.234, allocations: 14.69 MB / 0.851 GB, free: 40.06 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/1.235, allocations: 84 kB / 0.8511 GB, free: 39.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.235, allocations: 180 kB / 0.8512 GB, free: 39.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/1.24, allocations: 2.293 MB / 0.8535 GB, free: 37.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/1.247, allocations: 2.125 MB / 0.8556 GB, free: 35.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/1.263, allocations: 14.44 MB / 0.8697 GB, free: 20.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007126/1.27, allocations: 0.5223 MB / 0.8702 GB, free: 20.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.272, allocations: 0.5312 MB / 0.8707 GB, free: 19.61 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 77 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1117): * Single equations (assignments): 1110 * Array equations: 5 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005607/1.277, allocations: 3.221 MB / 0.8738 GB, free: 16.37 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.279, allocations: 0.6208 MB / 0.8744 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.292, allocations: 7.656 MB / 0.8819 GB, free: 8.066 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/1.292, allocations: 15.94 kB / 0.8819 GB, free: 8.051 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.292, allocations: 4 kB / 0.8819 GB, free: 8.047 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.294, allocations: 0.6881 MB / 0.8826 GB, free: 7.336 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.295, allocations: 55.94 kB / 0.8827 GB, free: 7.281 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.299, allocations: 215.6 kB / 0.8829 GB, free: 7.074 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006461/1.299, allocations: 210 kB / 0.8831 GB, free: 6.867 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01518/1.315, allocations: 8.079 MB / 0.891 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01672/1.331, allocations: 10.25 MB / 0.901 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004189/1.336, allocations: 2.559 MB / 0.9035 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009434/1.345, allocations: 4.46 MB / 0.9078 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of Backend: time 6.01e-07/1.345, allocations: 0 / 0.9078 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01865/1.364, allocations: 6.687 MB / 0.9144 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03516/1.399, allocations: 15.21 MB / 0.9292 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.3908/1.79, allocations: 80.31 MB / 1.008 GB, free: 218.3 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.430289388168603] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w', 'Revolute4.phi', 'Revolute4.w'] 1.798145321663469 1.806528128 1.404888648 Calling exit ...