Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.001352/0.001352, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001482/0.001482, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2325/0.2325, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01618/0.3449, allocations: 12.69 MB / 0.5742 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3554, allocations: 4.715 MB / 0.5788 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.3574, allocations: 115.4 kB / 0.5789 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009152/0.3666, allocations: 4.611 MB / 0.5834 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006611/0.3732, allocations: 2.467 MB / 0.5858 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.376, allocations: 1.139 MB / 0.587 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3864, allocations: 6.727 MB / 0.5935 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00636/0.3928, allocations: 4.437 MB / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.3968, allocations: 2.38 MB / 0.6002 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.4017, allocations: 3.333 MB / 0.6034 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.4028, allocations: 0.4961 MB / 0.6039 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.4056, allocations: 1.436 MB / 0.6053 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002915/0.4085, allocations: 2.949 MB / 0.6082 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003184/0.4117, allocations: 2.427 MB / 0.6106 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4238, allocations: 10.31 MB / 0.6206 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4238, allocations: 0 / 0.6206 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4238, allocations: 4 kB / 0.6207 GB, free: 7.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002852/0.4241, allocations: 0 / 0.6207 GB, free: 7.672 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01686/0.4409, allocations: 7.283 MB / 0.6278 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.441, allocations: 12.02 kB / 0.6278 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.4529, allocations: 2.696 MB / 0.6304 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.4642, allocations: 4.116 MB / 0.6344 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/0.4646, allocations: 353.3 kB / 0.6348 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.4664, allocations: 479.6 kB / 0.6352 GB, free: 8.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/0.4961, allocations: 14.54 MB / 0.6494 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/0.4963, allocations: 67.41 kB / 0.6495 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007175/0.497, allocations: 223.8 kB / 0.6497 GB, free: 8.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004786/0.5018, allocations: 2.637 MB / 0.6523 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.5293, allocations: 12.33 MB / 0.6643 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0768/0.6061, allocations: 51.78 MB / 0.7149 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.6222, allocations: 5.128 MB / 0.7199 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/0.6274, allocations: 3.371 MB / 0.7232 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/0.6424, allocations: 7.097 MB / 0.7301 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.6424, allocations: 52.22 kB / 0.7302 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 7.354e-06/0.6424, allocations: 0 / 0.7302 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3277/0.9702, allocations: 30.91 MB / 0.7604 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.9702, allocations: 231.6 kB / 0.7606 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/0.9789, allocations: 5.179 MB / 0.7656 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008559/0.9797, allocations: 61.7 kB / 0.7657 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/0.9824, allocations: 4.394 MB / 0.77 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.984, allocations: 1.071 MB / 0.771 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/0.9871, allocations: 1.69 MB / 0.7727 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.9871, allocations: 305.1 kB / 0.773 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006777/0.9939, allocations: 3.432 MB / 0.7763 GB, free: 127 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00928/1.003, allocations: 8.13 MB / 0.7843 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/1.019, allocations: 12.35 MB / 0.7963 GB, free: 102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002453/1.019, allocations: 44 kB / 0.7964 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.02158/1.04, allocations: 13.25 MB / 0.8093 GB, free: 88.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/1.04, allocations: 76 kB / 0.8094 GB, free: 88.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.041, allocations: 160 kB / 0.8095 GB, free: 88.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/1.046, allocations: 2.265 MB / 0.8117 GB, free: 86.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/1.052, allocations: 1.86 MB / 0.8136 GB, free: 84.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.066, allocations: 13.97 MB / 0.8272 GB, free: 70.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/1.072, allocations: 487.1 kB / 0.8277 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006739/1.073, allocations: 483.9 kB / 0.8281 GB, free: 69.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (981): * Single equations (assignments): 974 * 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.005061/1.078, allocations: 2.887 MB / 0.8309 GB, free: 66.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/1.079, allocations: 464.9 kB / 0.8314 GB, free: 65.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.094, allocations: 6.867 MB / 0.8381 GB, free: 58.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/1.094, allocations: 19.94 kB / 0.8381 GB, free: 58.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.094, allocations: 3.938 kB / 0.8381 GB, free: 58.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.095, allocations: 416.7 kB / 0.8385 GB, free: 58.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.097, allocations: 44 kB / 0.8386 GB, free: 58.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.099, allocations: 187.7 kB / 0.8387 GB, free: 58.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/1.099, allocations: 197.1 kB / 0.8389 GB, free: 58.11 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01165/1.111, allocations: 7.342 MB / 0.8461 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009387/1.121, allocations: 9.042 MB / 0.8549 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002335/1.123, allocations: 2.272 MB / 0.8571 GB, free: 39.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003812/1.127, allocations: 3.018 MB / 0.8601 GB, free: 36.41 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/1.127, allocations: 0 / 0.8601 GB, free: 36.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.138, allocations: 6.103 MB / 0.866 GB, free: 30.33 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02077/1.158, allocations: 13.49 MB / 0.8792 GB, free: 16.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.1349/1.293, allocations: 79.48 MB / 0.9568 GB, free: 1.988 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.041235631004383]