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.001346/0.001346, allocations: 91.5 kB / 21.19 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.001428/0.001428, allocations: 156.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.9756/0.9756, allocations: 177 MB / 204.8 MB, free: 5.602 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.3304/0.3304, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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 2.986e-06/2.986e-06, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.138e-05, allocations: 6.25 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01517/0.01521, allocations: 14.9 MB / 393.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.03344, allocations: 4.991 MB / 398.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005127/0.03857, allocations: 123.4 kB / 398.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.05131, allocations: 5.374 MB / 404.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.06236, allocations: 2.686 MB / 406.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.06452, allocations: 1.388 MB / 408.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01377/0.0783, allocations: 9.037 MB / 417.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005567/0.08386, allocations: 5.62 MB / 422.9 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.08981, allocations: 5.365 MB / 428.3 MB, free: 404 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.0931, allocations: 3.882 MB / 432.1 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006214/0.09372, allocations: 0.5508 MB / 432.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.0955, allocations: 1.525 MB / 434.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.0975, allocations: 3.402 MB / 437.6 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.09924, allocations: 2.103 MB / 439.7 MB, free: 4.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1752/0.2744, allocations: 6.993 MB / 446.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2744, allocations: 1.188 kB / 446.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2744, allocations: 0 / 446.7 MB, free: 67.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003512/0.2747, allocations: 0 / 446.7 MB, free: 67.43 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.01042/0.2852, allocations: 8.278 MB / 455 MB, free: 64.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2852, allocations: 8.406 kB / 455 MB, free: 64.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007429/0.2926, allocations: 3.629 MB / 458.6 MB, free: 63.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/0.2969, allocations: 3.995 MB / 462.6 MB, free: 63.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2971, allocations: 358.7 kB / 463 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.2976, allocations: 496.7 kB / 463.5 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009244/0.3068, allocations: 8.99 MB / 472.5 MB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.307, allocations: 76.23 kB / 472.5 MB, free: 58.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.3073, allocations: 230.7 kB / 472.8 MB, free: 58.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.3091, allocations: 2.377 MB / 475.1 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008726/0.3179, allocations: 4.484 MB / 479.6 MB, free: 58.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03784/0.3557, allocations: 62.22 MB / 0.5291 GB, free: 22.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.3621, allocations: 2.229 MB / 0.5313 GB, free: 22.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009694/0.3631, allocations: 0.6249 MB / 0.5319 GB, free: 22.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007176/0.3702, allocations: 5.069 MB / 0.5369 GB, free: 19.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3703, allocations: 51.98 kB / 0.5369 GB, free: 19.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=147): time 4.508e-06/0.3703, allocations: 0 / 0.5369 GB, free: 19.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.01785/0.3881, allocations: 11.54 MB / 0.5482 GB, free: 11.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.3882, allocations: 247.8 kB / 0.5484 GB, free: 11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.393, allocations: 5.424 MB / 0.5537 GB, free: 6.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.3931, allocations: 45.7 kB / 0.5538 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006344/0.3995, allocations: 5.043 MB / 0.5587 GB, free: 1.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.4005, allocations: 0.6912 MB / 0.5594 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002995/0.4035, allocations: 1.801 MB / 0.5611 GB, free: 14.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4037, allocations: 484.5 kB / 0.5616 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.4057, allocations: 0.7576 MB / 0.5623 GB, free: 13.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007287/0.413, allocations: 8.702 MB / 0.5708 GB, free: 1.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.4246, allocations: 10.32 MB / 0.5809 GB, free: 3.691 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002817/0.4249, allocations: 56 kB / 0.581 GB, free: 3.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.01711/0.442, allocations: 6.969 MB / 0.5878 GB, free: 12.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4421, allocations: 88 kB / 0.5879 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/0.4423, allocations: 188 kB / 0.588 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009464/0.4433, allocations: 363.2 kB / 0.5884 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.4471, allocations: 1.957 MB / 0.5903 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.4503, allocations: 5.614 MB / 0.5958 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/0.4549, allocations: 0.5619 MB / 0.5963 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006695/0.4555, allocations: 0.4904 MB / 0.5968 GB, free: 3.023 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * 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 (1033): * Single equations (assignments): 1027 * 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.002127/0.4576, allocations: 0.8669 MB / 0.5976 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007897/0.4584, allocations: 0.5125 MB / 0.5981 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.4629, allocations: 1.021 MB / 0.5991 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.4629, allocations: 18.81 kB / 0.5992 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4629, allocations: 7.938 kB / 0.5992 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.463, allocations: 7.969 kB / 0.5992 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.4769, allocations: 5.817 MB / 0.6049 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.4769, allocations: 8.719 kB / 0.6049 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.4782, allocations: 323.5 kB / 0.6052 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.4788, allocations: 122.9 kB / 0.6053 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.479, allocations: 35.94 kB / 0.6053 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.4828, allocations: 5.274 MB / 0.6105 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.4828, allocations: 15.92 kB / 0.6105 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.4876, allocations: 2.39 MB / 0.6128 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/0.4894, allocations: 0.4928 MB / 0.6133 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008344/0.4902, allocations: 35.98 kB / 0.6133 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.4916, allocations: 179.7 kB / 0.6135 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.4918, allocations: 108.1 kB / 0.6136 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.4918, allocations: 44 kB / 0.6137 GB, free: 1.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.1888/0.6806, allocations: 2.354 MB / 0.616 GB, free: 147.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6806, allocations: 0 / 0.616 GB, free: 147.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006516/0.6872, allocations: 1.395 MB / 0.6173 GB, free: 147.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (126): * Single equations (assignments): 120 * 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.0006/0.6878, allocations: 185.5 kB / 0.6175 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006413/0.6942, allocations: 3.904 MB / 0.6213 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.6942, allocations: 0 / 0.6213 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.6951, allocations: 0.9442 MB / 0.6222 GB, free: 146.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/0.6991, allocations: 0.6555 MB / 0.6229 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.7157, allocations: 10.76 MB / 0.6334 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.7179, allocations: 1.789 MB / 0.6351 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003813/0.7217, allocations: 2.083 MB / 0.6372 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008083/0.7225, allocations: 305.1 kB / 0.6375 GB, free: 141.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.565e-06/0.7225, allocations: 2.625 kB / 0.6375 GB, free: 141.3 MB / 490.7 MB Notification: Performance of Templates: time 0.06443/0.7869, allocations: 36.52 MB / 0.6731 GB, free: 126.5 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: 4.777305667754263]