Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001476/0.001476, allocations: 80.2 kB / 20.65 MB, free: 3.836 MB / 18.57 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.001443/0.001443, allocations: 173 kB / 24.05 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.913/0.913, allocations: 158.6 MB / 185.9 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1686/0.1686, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.305e-05, allocations: 8.219 kB / 348.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01428/0.01431, allocations: 16.57 MB / 364.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008727/0.02304, allocations: 5.272 MB / 370 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.02434, allocations: 135.4 kB / 370.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.03034, allocations: 5.404 MB / 375.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004247/0.03458, allocations: 3.036 MB / 378.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.03639, allocations: 1.4 MB / 380 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007626/0.04402, allocations: 8.939 MB / 388.9 MB, free: 232 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.04944, allocations: 5.983 MB / 394.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006301/0.05574, allocations: 5.247 MB / 400.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005668/0.06141, allocations: 4.31 MB / 404.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.06256, allocations: 0.625 MB / 405.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.06483, allocations: 1.6 MB / 406.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00264/0.06747, allocations: 3.81 MB / 410.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.07033, allocations: 2.36 MB / 412.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02558/0.09591, allocations: 7.956 MB / 420.8 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09591, allocations: 0 / 420.8 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09592, allocations: 0 / 420.8 MB, free: 184 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.09608, allocations: 4 kB / 420.8 MB, free: 180 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02752/0.1236, allocations: 8.712 MB / 429.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1236, allocations: 12.03 kB / 429.5 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007102/0.1307, allocations: 2.942 MB / 432.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/0.1358, allocations: 3.822 MB / 436.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.1361, allocations: 402.7 kB / 436.7 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2229/0.359, allocations: 0.5282 MB / 437.2 MB, free: 83.61 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.3697, allocations: 8.911 MB / 446.1 MB, free: 79.23 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.3699, allocations: 76.25 kB / 446.2 MB, free: 79.23 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.3702, allocations: 253.4 kB / 446.5 MB, free: 79.23 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.3721, allocations: 2.731 MB / 449.2 MB, free: 79.21 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/0.3776, allocations: 3.883 MB / 453.1 MB, free: 77.56 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/0.4094, allocations: 68.08 MB / 0.5089 GB, free: 8.938 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/0.4146, allocations: 2.266 MB / 0.5112 GB, free: 6.629 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000975/0.4156, allocations: 0.6032 MB / 0.5117 GB, free: 6.008 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006723/0.4223, allocations: 5.347 MB / 0.517 GB, free: 0.8086 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4223, allocations: 54.77 kB / 0.517 GB, free: 0.7461 MB / 362.8 MB Notification: Performance of pre-optimization done (n=192): time 3.486e-06/0.4223, allocations: 0 / 0.517 GB, free: 0.7461 MB / 362.8 MB Notification: Performance of matching and sorting (n=195): time 0.01414/0.4365, allocations: 6.521 MB / 0.5234 GB, free: 10.5 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.4365, allocations: 260.8 kB / 0.5236 GB, free: 10.19 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/0.4411, allocations: 5.683 MB / 0.5292 GB, free: 4.766 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.4411, allocations: 57.69 kB / 0.5292 GB, free: 4.703 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002509/0.4437, allocations: 5.628 MB / 0.5347 GB, free: 15.04 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/0.4441, allocations: 0.8649 MB / 0.5356 GB, free: 14.17 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.4457, allocations: 1.992 MB / 0.5375 GB, free: 12.16 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.4458, allocations: 480.5 kB / 0.538 GB, free: 11.69 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4468, allocations: 0.7903 MB / 0.5388 GB, free: 10.89 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/0.452, allocations: 9.326 MB / 0.5479 GB, free: 13.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007274/0.4593, allocations: 10.96 MB / 0.5586 GB, free: 14.88 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-05/0.4594, allocations: 56 kB / 0.5586 GB, free: 14.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.007808/0.4672, allocations: 7.153 MB / 0.5656 GB, free: 7.66 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.4673, allocations: 96.25 kB / 0.5657 GB, free: 7.566 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.4674, allocations: 200 kB / 0.5659 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.4679, allocations: 367 kB / 0.5662 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/0.4712, allocations: 2.039 MB / 0.5682 GB, free: 4.957 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.4735, allocations: 5.553 MB / 0.5737 GB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.4769, allocations: 411.6 kB / 0.574 GB, free: 14.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.4773, allocations: 476 kB / 0.5745 GB, free: 14.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 57 (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 (1137): * Single equations (assignments): 1131 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001768/0.479, allocations: 0.9135 MB / 0.5754 GB, free: 13.27 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/0.4798, allocations: 0.5785 MB / 0.576 GB, free: 12.68 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.4813, allocations: 1.303 MB / 0.5772 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.4813, allocations: 28 kB / 0.5773 GB, free: 11.33 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4813, allocations: 3.938 kB / 0.5773 GB, free: 11.32 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4813, allocations: 15.47 kB / 0.5773 GB, free: 11.31 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/0.4903, allocations: 6.786 MB / 0.5839 GB, free: 4.352 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.4904, allocations: 8 kB / 0.5839 GB, free: 4.344 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.4911, allocations: 303.5 kB / 0.5842 GB, free: 4.047 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.4914, allocations: 115.2 kB / 0.5843 GB, free: 3.922 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.4915, allocations: 47.92 kB / 0.5844 GB, free: 3.875 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.178/0.6695, allocations: 5.195 MB / 0.5894 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.6695, allocations: 11.69 kB / 0.5894 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.6733, allocations: 2.718 MB / 0.5921 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.675, allocations: 0.6713 MB / 0.5927 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/0.6757, allocations: 39 kB / 0.5928 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6768, allocations: 59.11 kB / 0.5928 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.6769, allocations: 136 kB / 0.593 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.677, allocations: 48.39 kB / 0.593 GB, free: 129.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003439/0.6805, allocations: 2.311 MB / 0.5953 GB, free: 129 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6805, allocations: 0 / 0.5953 GB, free: 129 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006762/0.6872, allocations: 1.586 MB / 0.5968 GB, free: 129 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 171 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005573/0.6878, allocations: 202.2 kB / 0.597 GB, free: 128.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007182/0.695, allocations: 4.126 MB / 0.601 GB, free: 128.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.695, allocations: 3.844 kB / 0.6011 GB, free: 128.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.6962, allocations: 1.047 MB / 0.6021 GB, free: 127.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/0.7006, allocations: 0.6824 MB / 0.6027 GB, free: 127.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/0.7212, allocations: 12.32 MB / 0.6148 GB, free: 122.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/0.7245, allocations: 2.043 MB / 0.6168 GB, free: 122.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00304/0.7276, allocations: 0.7547 MB / 0.6175 GB, free: 121.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.729, allocations: 0.8758 MB / 0.6184 GB, free: 121.3 MB / 442.8 MB Notification: Performance of SimCode: time 2.014e-06/0.729, allocations: 0 / 0.6184 GB, free: 121.3 MB / 442.8 MB Notification: Performance of Templates: time 0.07322/0.8023, allocations: 44.89 MB / 0.6622 GB, free: 79.81 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9702318562194705]