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.001003/0.001003, allocations: 88.92 kB / 20.66 MB, free: 3.816 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.0009545/0.0009545, allocations: 169 kB / 24.06 MB, free: 432 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.943/0.943, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1464/0.1464, allocations: 32.37 MB / 270.7 MB, free: 14.55 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 1.433e-06/1.433e-06, allocations: 0 / 348.2 MB, free: 9.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.38e-05, allocations: 2.312 kB / 348.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.009973/0.009987, allocations: 15.92 MB / 364.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.01851, allocations: 5.19 MB / 369.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.01971, allocations: 131.4 kB / 369.4 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004872/0.02458, allocations: 5.373 MB / 374.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.02885, allocations: 2.978 MB / 377.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.03073, allocations: 1.384 MB / 379.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00629/0.03702, allocations: 8.754 MB / 387.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/0.04124, allocations: 5.893 MB / 393.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.04601, allocations: 5.138 MB / 398.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.04979, allocations: 4.197 MB / 403.1 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006563/0.05044, allocations: 0.6016 MB / 403.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.05253, allocations: 1.588 MB / 405.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.05474, allocations: 3.698 MB / 409 MB, free: 12.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.05663, allocations: 2.302 MB / 411.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.06264, allocations: 7.688 MB / 419 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.06265, allocations: 0 / 419 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.06265, allocations: 0 / 419 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.798e-05/0.06273, allocations: 7.938 kB / 419 MB, free: 2 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.008324/0.07105, allocations: 8.437 MB / 427.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.07109, allocations: 12.03 kB / 427.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006827/0.07792, allocations: 2.888 MB / 430.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.08201, allocations: 3.735 MB / 434.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.08219, allocations: 394.4 kB / 434.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.0828, allocations: 0.5196 MB / 435 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1634/0.2462, allocations: 8.618 MB / 443.6 MB, free: 58.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/0.2465, allocations: 74.64 kB / 443.7 MB, free: 58.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005657/0.2471, allocations: 249 kB / 443.9 MB, free: 58.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.2496, allocations: 2.582 MB / 446.5 MB, free: 58.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009506/0.2591, allocations: 3.756 MB / 450.3 MB, free: 57.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/0.3084, allocations: 65.92 MB / 0.5041 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.3136, allocations: 2.194 MB / 0.5062 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.3146, allocations: 0.6388 MB / 0.5069 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009157/0.3238, allocations: 5.369 MB / 0.5121 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.3238, allocations: 65.98 kB / 0.5122 GB, free: 10.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=196): time 6.953e-06/0.3238, allocations: 0 / 0.5122 GB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=199): time 0.01666/0.3405, allocations: 6.472 MB / 0.5185 GB, free: 4.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.3406, allocations: 251.9 kB / 0.5187 GB, free: 3.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/0.3457, allocations: 5.583 MB / 0.5242 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.3461, allocations: 49.7 kB / 0.5242 GB, free: 15.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003205/0.3493, allocations: 5.437 MB / 0.5295 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.3504, allocations: 0.8739 MB / 0.5304 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/0.3523, allocations: 1.972 MB / 0.5323 GB, free: 7.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3524, allocations: 482.4 kB / 0.5328 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.3542, allocations: 0.7823 MB / 0.5335 GB, free: 6.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005161/0.3593, allocations: 9.134 MB / 0.5425 GB, free: 9.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008251/0.3676, allocations: 10.75 MB / 0.553 GB, free: 12.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/0.3678, allocations: 56 kB / 0.553 GB, free: 12.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.01171/0.3795, allocations: 7.035 MB / 0.5599 GB, free: 4.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.3796, allocations: 88 kB / 0.56 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/0.3798, allocations: 199.9 kB / 0.5601 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.3805, allocations: 370.7 kB / 0.5605 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/0.3856, allocations: 2.043 MB / 0.5625 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.3888, allocations: 5.578 MB / 0.5679 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/0.3948, allocations: 399.6 kB / 0.5683 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/0.3959, allocations: 468 kB / 0.5688 GB, free: 11.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 897 * 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 (1123): * Single equations (assignments): 1117 * 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.002676/0.3986, allocations: 0.9049 MB / 0.5697 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/0.4, allocations: 0.563 MB / 0.5702 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.4023, allocations: 1.302 MB / 0.5715 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4024, allocations: 25.88 kB / 0.5715 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4024, allocations: 4 kB / 0.5715 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.4024, allocations: 11.95 kB / 0.5715 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.4136, allocations: 6.587 MB / 0.5779 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.4136, allocations: 8 kB / 0.578 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.415, allocations: 332.4 kB / 0.5783 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.4155, allocations: 124.8 kB / 0.5784 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.4156, allocations: 44 kB / 0.5784 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.4182, allocations: 5.214 MB / 0.5835 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.4182, allocations: 15.94 kB / 0.5835 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.4224, allocations: 2.733 MB / 0.5862 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.4238, allocations: 0.6751 MB / 0.5869 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/0.4243, allocations: 50.22 kB / 0.5869 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.4256, allocations: 51.98 kB / 0.587 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.4259, allocations: 132.6 kB / 0.5871 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.426, allocations: 51.98 kB / 0.5871 GB, free: 8.973 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002947/0.4289, allocations: 2.275 MB / 0.5894 GB, free: 6.957 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4289, allocations: 0 / 0.5894 GB, free: 6.957 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006381/0.4353, allocations: 1.562 MB / 0.5909 GB, free: 5.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (178): * Single equations (assignments): 172 * 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.0004933/0.4358, allocations: 203 kB / 0.5911 GB, free: 5.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006408/0.4422, allocations: 4.081 MB / 0.5951 GB, free: 1.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.4422, allocations: 5.938 kB / 0.5951 GB, free: 1.176 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.4433, allocations: 1.051 MB / 0.5961 GB, free: 88 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.144/0.5872, allocations: 0.6673 MB / 0.5968 GB, free: 137.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.6061, allocations: 11.97 MB / 0.6084 GB, free: 132.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.6085, allocations: 1.97 MB / 0.6104 GB, free: 131.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002789/0.6113, allocations: 0.7394 MB / 0.6111 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/0.6128, allocations: 0.8705 MB / 0.6119 GB, free: 131.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/0.6128, allocations: 0 / 0.6119 GB, free: 131.7 MB / 458.7 MB Notification: Performance of Templates: time 0.07576/0.6886, allocations: 43.05 MB / 0.654 GB, free: 102.3 MB / 458.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: 4.727301419712603]