Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.0009757/0.0009757, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009591/0.0009591, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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 1.02/1.02, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1421/0.1421, allocations: 32.36 MB / 270.4 MB, free: 14.7 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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.431e-05, allocations: 10.25 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.0123/0.01234, allocations: 16.35 MB / 364.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02271, allocations: 5.226 MB / 369.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.026, allocations: 131.4 kB / 369.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007914/0.03392, allocations: 5.459 MB / 374.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008668/0.04259, allocations: 2.954 MB / 377.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.04593, allocations: 1.396 MB / 379.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.05682, allocations: 8.735 MB / 388 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007446/0.06426, allocations: 5.885 MB / 393.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008827/0.07309, allocations: 4.206 MB / 398.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.07933, allocations: 4.252 MB / 402.3 MB, free: 2.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002193/0.08152, allocations: 0.6016 MB / 402.9 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.08546, allocations: 1.592 MB / 404.5 MB, free: 368 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.08968, allocations: 3.717 MB / 408.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004551/0.09423, allocations: 2.298 MB / 410.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.1049, allocations: 7.684 MB / 418.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1049, allocations: 0 / 418.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1049, allocations: 4 kB / 418.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003803/0.1053, allocations: 0 / 418.2 MB, free: 2.613 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.01424/0.1195, allocations: 8.794 MB / 427 MB, free: 9.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1196, allocations: 8.031 kB / 427 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009344/0.1289, allocations: 3.963 MB / 431 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009172/0.1381, allocations: 4.477 MB / 435.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.1384, allocations: 390.4 kB / 435.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.1399, allocations: 0.5118 MB / 436.3 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1825/0.3225, allocations: 9.664 MB / 446 MB, free: 77.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003563/0.3228, allocations: 80.42 kB / 446.1 MB, free: 77.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009729/0.3238, allocations: 244.7 kB / 446.3 MB, free: 77.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002955/0.3268, allocations: 2.92 MB / 449.2 MB, free: 77.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.34, allocations: 5.244 MB / 454.5 MB, free: 75.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0466/0.3866, allocations: 65.82 MB / 0.5081 GB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006208/0.3928, allocations: 2.724 MB / 0.5108 GB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3943, allocations: 1.038 MB / 0.5118 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3944, allocations: 49.22 kB / 0.5118 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3945, allocations: 66.88 kB / 0.5119 GB, free: 4.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=242): time 4.919e-06/0.3945, allocations: 0 / 0.5119 GB, free: 4.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=260): time 0.03829/0.4328, allocations: 19.08 MB / 0.5305 GB, free: 2.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4329, allocations: 261.2 kB / 0.5308 GB, free: 1.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007162/0.4401, allocations: 5.382 MB / 0.536 GB, free: 12.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00075/0.4408, allocations: 61.7 kB / 0.5361 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/0.4443, allocations: 5.202 MB / 0.5412 GB, free: 7.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/0.446, allocations: 1.08 MB / 0.5422 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002284/0.4483, allocations: 1.925 MB / 0.5441 GB, free: 4.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4485, allocations: 480.8 kB / 0.5446 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.4504, allocations: 1.063 MB / 0.5456 GB, free: 3.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005601/0.456, allocations: 8.771 MB / 0.5542 GB, free: 6.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009731/0.4657, allocations: 10.74 MB / 0.5647 GB, free: 8.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002235/0.466, allocations: 56 kB / 0.5647 GB, free: 8.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.01912/0.4851, allocations: 8.543 MB / 0.5731 GB, free: 60 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.4852, allocations: 84.27 kB / 0.5731 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003096/0.4855, allocations: 184 kB / 0.5733 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.4885, allocations: 1.158 MB / 0.5745 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/0.4941, allocations: 2.109 MB / 0.5765 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.501, allocations: 8.575 MB / 0.5849 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/0.5064, allocations: 0.5773 MB / 0.5855 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/0.5075, allocations: 0.5156 MB / 0.586 GB, free: 2.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1087): * Single equations (assignments): 1081 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002235/0.5097, allocations: 0.8749 MB / 0.5868 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/0.511, allocations: 0.5877 MB / 0.5874 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.18/0.6911, allocations: 2.927 MB / 0.5902 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/0.6911, allocations: 27.75 kB / 0.5903 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.6911, allocations: 12.34 kB / 0.5903 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.6911, allocations: 14.11 kB / 0.5903 GB, free: 133.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.7075, allocations: 8.644 MB / 0.5987 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.7075, allocations: 3.594 kB / 0.5987 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.7088, allocations: 0.5026 MB / 0.5992 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.7109, allocations: 0.8696 MB / 0.6001 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/0.7111, allocations: 49.84 kB / 0.6001 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/0.7164, allocations: 7.973 MB / 0.6079 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7164, allocations: 3.109 kB / 0.6079 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006687/0.7231, allocations: 4.232 MB / 0.612 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/0.7255, allocations: 0.9039 MB / 0.6129 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006988/0.7262, allocations: 46.16 kB / 0.613 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.7277, allocations: 269.8 kB / 0.6132 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.7281, allocations: 164.6 kB / 0.6134 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.7282, allocations: 64.66 kB / 0.6134 GB, free: 126.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003464/0.7317, allocations: 2.381 MB / 0.6158 GB, free: 125.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7317, allocations: 0 / 0.6158 GB, free: 125.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006665/0.7384, allocations: 1.814 MB / 0.6175 GB, free: 125.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006134/0.739, allocations: 204.6 kB / 0.6177 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007464/0.7464, allocations: 4.896 MB / 0.6225 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.7464, allocations: 3.609 kB / 0.6225 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.7486, allocations: 1.555 MB / 0.624 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/0.7522, allocations: 0.6904 MB / 0.6247 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.7703, allocations: 12.39 MB / 0.6368 GB, free: 109.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.7722, allocations: 2.019 MB / 0.6388 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003616/0.7758, allocations: 2.231 MB / 0.641 GB, free: 104.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009289/0.7767, allocations: 356.4 kB / 0.6413 GB, free: 104.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/0.7767, allocations: 0 / 0.6413 GB, free: 104.5 MB / 442.7 MB Notification: Performance of Templates: time 0.0672/0.8439, allocations: 54.48 MB / 0.6945 GB, free: 50.12 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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: 5.216143285855651]