Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.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.001375/0.001375, allocations: 106.8 kB / 21.19 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.001665/0.001665, allocations: 213.3 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2409/0.2409, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.WorldTorques,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_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 67.88 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3832, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01687/0.4001, allocations: 13.4 MB / 0.5749 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4122, allocations: 4.856 MB / 0.5797 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004258/0.4164, allocations: 123.4 kB / 0.5798 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.4265, allocations: 4.868 MB / 0.5845 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00773/0.4342, allocations: 2.603 MB / 0.5871 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.4377, allocations: 1.236 MB / 0.5883 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.4508, allocations: 7.978 MB / 0.5961 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007369/0.4581, allocations: 4.717 MB / 0.6007 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005605/0.4638, allocations: 2.57 MB / 0.6032 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006824/0.4706, allocations: 3.711 MB / 0.6068 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.4729, allocations: 0.5429 MB / 0.6073 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.4771, allocations: 1.459 MB / 0.6088 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00556/0.4827, allocations: 3.222 MB / 0.6119 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006379/0.489, allocations: 2.61 MB / 0.6145 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.5039, allocations: 10.93 MB / 0.6251 GB, free: 3.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5039, allocations: 0 / 0.6251 GB, free: 3.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5039, allocations: 0 / 0.6251 GB, free: 3.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004034/0.5043, allocations: 0 / 0.6251 GB, free: 3.047 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02271/0.527, allocations: 7.654 MB / 0.6326 GB, free: 11.31 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.5271, allocations: 8.031 kB / 0.6326 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.5426, allocations: 3.101 MB / 0.6356 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.5562, allocations: 4.776 MB / 0.6403 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/0.5566, allocations: 369.7 kB / 0.6407 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/0.5587, allocations: 499.8 kB / 0.6411 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02999/0.5887, allocations: 14.41 MB / 0.6552 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/0.5889, allocations: 75.45 kB / 0.6553 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006834/0.5896, allocations: 235.8 kB / 0.6555 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/0.5941, allocations: 2.539 MB / 0.658 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/0.6195, allocations: 11.79 MB / 0.6695 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07669/0.6962, allocations: 52.33 MB / 0.7206 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.7084, allocations: 4.016 MB / 0.7245 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004093/0.7125, allocations: 2.696 MB / 0.7272 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.7127, allocations: 33.62 kB / 0.7272 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.7127, allocations: 51.56 kB / 0.7272 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.929e-06/0.7127, allocations: 0 / 0.7272 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.3917/1.104, allocations: 23.2 MB / 0.7499 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.104, allocations: 259.7 kB / 0.7501 GB, free: 148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/1.111, allocations: 5.759 MB / 0.7558 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003448/1.112, allocations: 49.7 kB / 0.7558 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.114, allocations: 4.698 MB / 0.7604 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008161/1.115, allocations: 0.8579 MB / 0.7612 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/1.117, allocations: 1.68 MB / 0.7629 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/1.117, allocations: 301.1 kB / 0.7632 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.12, allocations: 2.887 MB / 0.766 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/1.125, allocations: 7.874 MB / 0.7737 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009426/1.134, allocations: 11.42 MB / 0.7848 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.134, allocations: 48 kB / 0.7849 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01803/1.153, allocations: 11.84 MB / 0.7964 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/1.153, allocations: 80 kB / 0.7965 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/1.153, allocations: 172 kB / 0.7967 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/1.157, allocations: 1.778 MB / 0.7984 GB, free: 98.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/1.162, allocations: 1.832 MB / 0.8002 GB, free: 97.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.175, allocations: 12.12 MB / 0.812 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008409/1.183, allocations: 455.5 kB / 0.8125 GB, free: 84.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.185, allocations: 492 kB / 0.8129 GB, free: 83.69 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 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * 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 {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00695/1.192, allocations: 2.97 MB / 0.8158 GB, free: 80.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/1.194, allocations: 496.7 kB / 0.8163 GB, free: 80.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008442/1.202, allocations: 4.762 MB / 0.821 GB, free: 75.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/1.202, allocations: 7.969 kB / 0.821 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.202, allocations: 4 kB / 0.821 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.204, allocations: 448.6 kB / 0.8214 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009816/1.205, allocations: 32.05 kB / 0.8214 GB, free: 74.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.207, allocations: 147.8 kB / 0.8216 GB, free: 74.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/1.208, allocations: 149.1 kB / 0.8217 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008164/1.216, allocations: 5.321 MB / 0.8269 GB, free: 69.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006852/1.223, allocations: 6.452 MB / 0.8332 GB, free: 62.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001646/1.224, allocations: 1.579 MB / 0.8348 GB, free: 61.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004537/1.229, allocations: 3.398 MB / 0.8381 GB, free: 57.95 MB / 0.5606 GB Notification: Performance of Backend: time 3.71e-07/1.229, allocations: 0 / 0.8381 GB, free: 57.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.24, allocations: 5.607 MB / 0.8436 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02255/1.262, allocations: 13.81 MB / 0.857 GB, free: 38.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.1191/1.381, allocations: 72.01 MB / 0.9274 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldTorques.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.04425929900026]