Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.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.001548/0.001548, allocations: 114.5 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.001735/0.001735, allocations: 211.4 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.399/1.399, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2293/0.2293, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") [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.002323/0.002323, allocations: 72.16 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3008, allocations: 66 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01783/0.3187, allocations: 15.62 MB / 0.5765 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.3288, allocations: 4.968 MB / 0.5813 GB, free: 360 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.3309, allocations: 103.7 kB / 0.5814 GB, free: 256 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009143/0.3401, allocations: 5.074 MB / 0.5864 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006845/0.3469, allocations: 2.544 MB / 0.5889 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.3496, allocations: 1.076 MB / 0.5899 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.3606, allocations: 6.856 MB / 0.5966 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006085/0.3666, allocations: 4.15 MB / 0.6007 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.3703, allocations: 2.395 MB / 0.603 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005045/0.3754, allocations: 3.442 MB / 0.6064 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.3765, allocations: 0.4961 MB / 0.6069 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3791, allocations: 1.436 MB / 0.6083 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0031/0.3822, allocations: 3.054 MB / 0.6112 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004184/0.3864, allocations: 3.332 MB / 0.6145 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.3988, allocations: 10.38 MB / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3989, allocations: 0 / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3989, allocations: 0 / 0.6246 GB, free: 3.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002904/0.3991, allocations: 0 / 0.6246 GB, free: 3.805 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01793/0.4171, allocations: 7.585 MB / 0.632 GB, free: 12.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4171, allocations: 8.031 kB / 0.632 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.4298, allocations: 2.754 MB / 0.6347 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.4405, allocations: 4.279 MB / 0.6389 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/0.4409, allocations: 357.6 kB / 0.6392 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.4424, allocations: 487.6 kB / 0.6397 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/0.4689, allocations: 14.25 MB / 0.6536 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/0.4691, allocations: 67.47 kB / 0.6537 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006647/0.4698, allocations: 235.7 kB / 0.6539 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004906/0.4747, allocations: 2.711 MB / 0.6566 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/0.4992, allocations: 12.04 MB / 0.6683 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07749/0.5767, allocations: 57.43 MB / 0.7244 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/0.5926, allocations: 6.066 MB / 0.7303 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004761/0.5973, allocations: 3.391 MB / 0.7336 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2933/0.8907, allocations: 8.535 MB / 0.742 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.8907, allocations: 60 kB / 0.742 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 4.689e-06/0.8907, allocations: 0 / 0.742 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278): time 0.0679/0.9586, allocations: 30.71 MB / 0.772 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.9587, allocations: 235.6 kB / 0.7722 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006909/0.9656, allocations: 6.698 MB / 0.7788 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006255/0.9662, allocations: 77.34 kB / 0.7789 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.9683, allocations: 4.576 MB / 0.7833 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.9693, allocations: 1.118 MB / 0.7844 GB, free: 119 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.9711, allocations: 1.797 MB / 0.7862 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.9711, allocations: 309.1 kB / 0.7865 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/0.9751, allocations: 3.574 MB / 0.79 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005957/0.981, allocations: 8.64 MB / 0.7984 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.9918, allocations: 13.14 MB / 0.8112 GB, free: 86.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.9919, allocations: 48 kB / 0.8113 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.0223/1.014, allocations: 14.01 MB / 0.8249 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.014, allocations: 80 kB / 0.825 GB, free: 72.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003899/1.015, allocations: 176 kB / 0.8252 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00583/1.021, allocations: 2.281 MB / 0.8274 GB, free: 70.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007277/1.028, allocations: 2 MB / 0.8294 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.043, allocations: 14.34 MB / 0.8434 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006817/1.049, allocations: 0.4994 MB / 0.8439 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009241/1.05, allocations: 0.527 MB / 0.8444 GB, free: 52.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1058): * Single equations (assignments): 1051 * 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.003604/1.054, allocations: 2.985 MB / 0.8473 GB, free: 49.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009104/1.055, allocations: 0.582 MB / 0.8479 GB, free: 48.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.065, allocations: 7.052 MB / 0.8547 GB, free: 41.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.065, allocations: 15.89 kB / 0.8548 GB, free: 41.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.065, allocations: 4 kB / 0.8548 GB, free: 41.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.066, allocations: 0.6493 MB / 0.8554 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007397/1.067, allocations: 44 kB / 0.8554 GB, free: 41.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.069, allocations: 195.7 kB / 0.8556 GB, free: 40.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/1.07, allocations: 193.6 kB / 0.8558 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01145/1.081, allocations: 7.424 MB / 0.8631 GB, free: 33.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00908/1.09, allocations: 9.268 MB / 0.8721 GB, free: 23.92 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002312/1.093, allocations: 2.295 MB / 0.8744 GB, free: 21.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005832/1.099, allocations: 4.252 MB / 0.8785 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of Backend: time 6.51e-07/1.099, allocations: 0 / 0.8785 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.11, allocations: 6.372 MB / 0.8847 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02121/1.132, allocations: 14.24 MB / 0.8986 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.1442/1.276, allocations: 74.96 MB / 0.9718 GB, free: 2.125 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.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: 8.166113370098174]