Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009497/0.0009497, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9539/0.9539, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2767/0.2767, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.32e-05/4.637e-05, allocations: 3.016 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01438/0.01443, allocations: 14.9 MB / 393.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02468, allocations: 4.989 MB / 398.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.02702, allocations: 127.4 kB / 398.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005566/0.03258, allocations: 5.374 MB / 404.2 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.03782, allocations: 2.682 MB / 406.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.04004, allocations: 1.392 MB / 408.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007735/0.04778, allocations: 9.041 MB / 417.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005151/0.05293, allocations: 5.62 MB / 422.9 MB, free: 5.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.0574, allocations: 3.914 MB / 426.8 MB, free: 1.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.06081, allocations: 3.928 MB / 430.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006988/0.0615, allocations: 0.5508 MB / 431.3 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.06327, allocations: 1.521 MB / 432.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.0652, allocations: 3.405 MB / 436.2 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.06702, allocations: 2.095 MB / 438.3 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1837/0.2508, allocations: 6.995 MB / 445.3 MB, free: 68.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2508, allocations: 0 / 445.3 MB, free: 68.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2508, allocations: 0 / 445.3 MB, free: 68.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003614/0.2511, allocations: 0 / 445.3 MB, free: 68.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.009896/0.261, allocations: 8.188 MB / 453.5 MB, free: 65.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2611, allocations: 7.844 kB / 453.5 MB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00755/0.2686, allocations: 3.738 MB / 457.2 MB, free: 65.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/0.2742, allocations: 4.215 MB / 461.5 MB, free: 64.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.2744, allocations: 362 kB / 461.8 MB, free: 64.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005704/0.2749, allocations: 497.7 kB / 462.3 MB, free: 64.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.2854, allocations: 8.993 MB / 471.3 MB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.2855, allocations: 81.45 kB / 471.4 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.2859, allocations: 230 kB / 471.6 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.2881, allocations: 2.538 MB / 474.1 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009424/0.2976, allocations: 4.765 MB / 478.9 MB, free: 59.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03992/0.3375, allocations: 61.77 MB / 0.528 GB, free: 24.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005231/0.3427, allocations: 2.419 MB / 0.5304 GB, free: 24.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.3437, allocations: 0.8936 MB / 0.5312 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.3438, allocations: 31.69 kB / 0.5313 GB, free: 24.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3439, allocations: 59.14 kB / 0.5313 GB, free: 23.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 3.427e-06/0.3439, allocations: 0 / 0.5313 GB, free: 23.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=208): time 0.02938/0.3732, allocations: 17.58 MB / 0.5485 GB, free: 11.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.3733, allocations: 256.4 kB / 0.5487 GB, free: 11.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006388/0.3797, allocations: 5.167 MB / 0.5538 GB, free: 6.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.3801, allocations: 57.7 kB / 0.5538 GB, free: 6.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003317/0.3835, allocations: 4.852 MB / 0.5586 GB, free: 1.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.3848, allocations: 0.897 MB / 0.5595 GB, free: 324 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/0.3872, allocations: 1.802 MB / 0.5612 GB, free: 14.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3873, allocations: 484.7 kB / 0.5617 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.3888, allocations: 0.9137 MB / 0.5626 GB, free: 13.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/0.3939, allocations: 8.254 MB / 0.5706 GB, free: 1.617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008667/0.4025, allocations: 10.01 MB / 0.5804 GB, free: 4.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/0.4027, allocations: 48 kB / 0.5804 GB, free: 4.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.01363/0.4163, allocations: 7.885 MB / 0.5881 GB, free: 12.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/0.4164, allocations: 82.66 kB / 0.5882 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.4165, allocations: 176.1 kB / 0.5884 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/0.4191, allocations: 1.145 MB / 0.5895 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.4225, allocations: 1.914 MB / 0.5914 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006808/0.4293, allocations: 8.551 MB / 0.5997 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/0.4339, allocations: 0.5266 MB / 0.6002 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007793/0.4347, allocations: 491.4 kB / 0.6007 GB, free: 15.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (994): * Single equations (assignments): 988 * 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.002063/0.4367, allocations: 0.8321 MB / 0.6015 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.4377, allocations: 0.5307 MB / 0.602 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.4416, allocations: 2.449 MB / 0.6044 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.4416, allocations: 27.94 kB / 0.6045 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.4417, allocations: 4 kB / 0.6045 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.4417, allocations: 19.89 kB / 0.6045 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.4535, allocations: 7.601 MB / 0.6119 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.4535, allocations: 4 kB / 0.6119 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009894/0.4544, allocations: 387.4 kB / 0.6123 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.4566, allocations: 0.8691 MB / 0.6131 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.4568, allocations: 36 kB / 0.6132 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2144/0.6712, allocations: 7.989 MB / 0.621 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6712, allocations: 3.844 kB / 0.621 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.6775, allocations: 3.678 MB / 0.6246 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.6792, allocations: 0.4969 MB / 0.625 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/0.6799, allocations: 33.44 kB / 0.6251 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.6814, allocations: 210.5 kB / 0.6253 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.6818, allocations: 134.3 kB / 0.6254 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6819, allocations: 56.92 kB / 0.6255 GB, free: 143 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003585/0.6855, allocations: 2.272 MB / 0.6277 GB, free: 142.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6855, allocations: 0 / 0.6277 GB, free: 142.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006333/0.6918, allocations: 1.634 MB / 0.6293 GB, free: 142.8 MB / 490.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 (160): * Single equations (assignments): 154 * 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.000727/0.6925, allocations: 185.9 kB / 0.6295 GB, free: 142.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007532/0.7001, allocations: 4.417 MB / 0.6338 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.7001, allocations: 3.25 kB / 0.6338 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.7018, allocations: 1.352 MB / 0.6351 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/0.7056, allocations: 0.6615 MB / 0.6357 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.7234, allocations: 11.15 MB / 0.6466 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.7262, allocations: 1.824 MB / 0.6484 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004382/0.7306, allocations: 2.051 MB / 0.6504 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.7318, allocations: 321.5 kB / 0.6507 GB, free: 136.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.196e-06/0.7318, allocations: 1.312 kB / 0.6507 GB, free: 136.6 MB / 490.7 MB Notification: Performance of Templates: time 0.06977/0.8016, allocations: 49.93 MB / 0.6995 GB, free: 103.2 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0860300082713366]