Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.001759/0.001759, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002188/0.002188, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 46.96 MB / 361.6 MB, free: 4.027 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.89 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01532/0.3429, allocations: 12.21 MB / 0.5738 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3532, allocations: 4.56 MB / 0.5782 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.3552, allocations: 107.5 kB / 0.5783 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008229/0.3634, allocations: 4.361 MB / 0.5826 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.3693, allocations: 2.307 MB / 0.5848 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.3719, allocations: 1.135 MB / 0.5859 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00894/0.3808, allocations: 6.416 MB / 0.5922 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006675/0.3875, allocations: 4.257 MB / 0.5964 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.392, allocations: 2.247 MB / 0.5986 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004717/0.3967, allocations: 3.193 MB / 0.6017 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.3977, allocations: 492 kB / 0.6021 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.4004, allocations: 1.416 MB / 0.6035 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002639/0.4031, allocations: 2.816 MB / 0.6063 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002521/0.4056, allocations: 2.33 MB / 0.6085 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.4159, allocations: 9.899 MB / 0.6182 GB, free: 10.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4159, allocations: 0 / 0.6182 GB, free: 10.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4159, allocations: 3.938 kB / 0.6182 GB, free: 10.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002192/0.4161, allocations: 4 kB / 0.6182 GB, free: 10.16 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: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01534/0.4314, allocations: 6.892 MB / 0.625 GB, free: 3.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4315, allocations: 12.03 kB / 0.625 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4431, allocations: 2.649 MB / 0.6276 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009842/0.453, allocations: 3.855 MB / 0.6313 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/0.4533, allocations: 341.1 kB / 0.6316 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.4548, allocations: 455.9 kB / 0.6321 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.4826, allocations: 14.14 MB / 0.6459 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/0.4829, allocations: 71.45 kB / 0.646 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007819/0.4837, allocations: 211.8 kB / 0.6462 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004867/0.4885, allocations: 2.539 MB / 0.6486 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.514, allocations: 11.96 MB / 0.6603 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07061/0.5846, allocations: 49.83 MB / 0.709 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/0.6022, allocations: 5.834 MB / 0.7147 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004644/0.6068, allocations: 3.33 MB / 0.7179 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.607, allocations: 29.31 kB / 0.718 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.607, allocations: 51.88 kB / 0.718 GB, free: 1.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=218): time 6.493e-06/0.607, allocations: 0 / 0.718 GB, free: 1.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.3386/0.9457, allocations: 31.55 MB / 0.7488 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.9457, allocations: 205.7 kB / 0.749 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.9504, allocations: 4.851 MB / 0.7537 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/0.9508, allocations: 65.09 kB / 0.7538 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.9524, allocations: 4.189 MB / 0.7579 GB, free: 145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008028/0.9532, allocations: 1.033 MB / 0.7589 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.9549, allocations: 1.616 MB / 0.7605 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.955, allocations: 304.3 kB / 0.7608 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.9586, allocations: 3.472 MB / 0.7642 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004871/0.9635, allocations: 7.935 MB / 0.7719 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.9735, allocations: 12.16 MB / 0.7838 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.671e-05/0.9736, allocations: 44 kB / 0.7838 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02123/0.9949, allocations: 13.12 MB / 0.7966 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.995, allocations: 72 kB / 0.7967 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/0.9951, allocations: 156 kB / 0.7969 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/1, allocations: 2.254 MB / 0.7991 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/1.007, allocations: 1.801 MB / 0.8008 GB, free: 98.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.021, allocations: 14.02 MB / 0.8145 GB, free: 84.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005889/1.027, allocations: 487.2 kB / 0.815 GB, free: 83.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.028, allocations: 468 kB / 0.8154 GB, free: 83.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (940): * Single equations (assignments): 935 * 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 {(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.003847/1.032, allocations: 2.76 MB / 0.8181 GB, free: 80.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/1.033, allocations: 433.1 kB / 0.8185 GB, free: 79.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.043, allocations: 7.02 MB / 0.8254 GB, free: 72.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.776e-05/1.043, allocations: 11.95 kB / 0.8254 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.043, allocations: 0 / 0.8254 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.044, allocations: 404.8 kB / 0.8258 GB, free: 72.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008834/1.045, allocations: 44 kB / 0.8258 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.047, allocations: 226 kB / 0.826 GB, free: 72.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.048, allocations: 193.5 kB / 0.8262 GB, free: 72.01 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01173/1.06, allocations: 7.418 MB / 0.8335 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009599/1.069, allocations: 9.352 MB / 0.8426 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002565/1.072, allocations: 2.385 MB / 0.8449 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003491/1.075, allocations: 2.827 MB / 0.8477 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/1.075, allocations: 0 / 0.8477 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.086, allocations: 6.023 MB / 0.8536 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01859/1.105, allocations: 12.87 MB / 0.8661 GB, free: 31.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.1274/1.232, allocations: 79.15 MB / 0.9434 GB, free: 0.5508 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8781060590044945]