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.0009231/0.0009231, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001008/0.001008, allocations: 161.4 kB / 24.91 MB, free: 8.68 MB / 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.9449/0.9449, allocations: 177 MB / 205.2 MB, free: 5.453 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.2703/0.2703, allocations: 34.87 MB / 296.6 MB, free: 456 kB / 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 1.372e-06/1.372e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.322e-05, allocations: 8.141 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01111/0.01113, allocations: 14.58 MB / 340.5 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009605/0.02074, allocations: 5.162 MB / 345.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.02339, allocations: 131.3 kB / 345.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005911/0.0293, allocations: 5.276 MB / 351.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007751/0.03705, allocations: 2.674 MB / 353.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.04124, allocations: 1.392 MB / 355.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.0534, allocations: 9.001 MB / 364.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008314/0.06171, allocations: 5.437 MB / 369.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005757/0.06747, allocations: 5.232 MB / 374.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.07082, allocations: 3.706 MB / 378.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008335/0.07165, allocations: 0.5508 MB / 379.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.07359, allocations: 1.557 MB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.07569, allocations: 3.39 MB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.07787, allocations: 2.103 MB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006471/0.08434, allocations: 7.007 MB / 393.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.08434, allocations: 3.938 kB / 393.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08434, allocations: 4 kB / 393.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002783/0.08462, allocations: 0 / 393.2 MB, free: 3.574 MB / 362.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.008766/0.09339, allocations: 7.054 MB / 400.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.09343, allocations: 12.03 kB / 400.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.09759, allocations: 1.608 MB / 401.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.1014, allocations: 3.278 MB / 405.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.1016, allocations: 361.7 kB / 405.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.1021, allocations: 496.1 kB / 406 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007713/0.1098, allocations: 7.182 MB / 413.1 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.11, allocations: 75.38 kB / 413.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.1103, allocations: 223.8 kB / 413.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.112, allocations: 2.223 MB / 415.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.1177, allocations: 3.471 MB / 419.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1795/0.2972, allocations: 44.34 MB / 463.5 MB, free: 74.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.3016, allocations: 2.029 MB / 465.5 MB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/0.3022, allocations: 433.1 kB / 465.9 MB, free: 74.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005502/0.3077, allocations: 4.537 MB / 470.5 MB, free: 73.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3077, allocations: 53.34 kB / 470.5 MB, free: 73.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=147): time 3.777e-06/0.3077, allocations: 0.5 kB / 470.5 MB, free: 73.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01031/0.318, allocations: 5.163 MB / 475.7 MB, free: 72.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3181, allocations: 253.3 kB / 475.9 MB, free: 72.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/0.321, allocations: 4.832 MB / 480.8 MB, free: 71.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.3211, allocations: 46.02 kB / 480.8 MB, free: 71.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.3222, allocations: 4.435 MB / 485.2 MB, free: 67.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.3225, allocations: 0.6718 MB / 485.9 MB, free: 67.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009291/0.3234, allocations: 1.579 MB / 487.5 MB, free: 65.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.352e-05/0.3234, allocations: 305.1 kB / 487.8 MB, free: 65.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.3246, allocations: 0.9293 MB / 488.7 MB, free: 64.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.3267, allocations: 6.144 MB / 494.9 MB, free: 55.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.3306, allocations: 7.771 MB / 0.4908 GB, free: 46.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.764e-05/0.3306, allocations: 56 kB / 0.4909 GB, free: 46.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.004677/0.3353, allocations: 5.583 MB / 0.4964 GB, free: 40.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.3354, allocations: 92.03 kB / 0.4964 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.656e-05/0.3355, allocations: 188 kB / 0.4966 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.3359, allocations: 362.9 kB / 0.497 GB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.3386, allocations: 1.961 MB / 0.4989 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.3399, allocations: 3.975 MB / 0.5028 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.3427, allocations: 379.8 kB / 0.5031 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.3429, allocations: 440 kB / 0.5035 GB, free: 32.77 MB / 410.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.001155/0.3441, allocations: 0.8152 MB / 0.5043 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.3444, allocations: 291.7 kB / 0.5046 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.3453, allocations: 0.8606 MB / 0.5055 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3453, allocations: 16 kB / 0.5055 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3453, allocations: 8 kB / 0.5055 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3453, allocations: 7.969 kB / 0.5055 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00441/0.3497, allocations: 4.789 MB / 0.5102 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3497, allocations: 8.125 kB / 0.5102 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.3503, allocations: 267.6 kB / 0.5104 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.3508, allocations: 382.7 kB / 0.5108 GB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.3508, allocations: 39.83 kB / 0.5108 GB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/0.3518, allocations: 3.633 MB / 0.5144 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3518, allocations: 11.92 kB / 0.5144 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.353, allocations: 1.901 MB / 0.5162 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.3534, allocations: 460.6 kB / 0.5167 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.3536, allocations: 36 kB / 0.5167 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.3544, allocations: 35.98 kB / 0.5168 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.3545, allocations: 100.2 kB / 0.5169 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.3546, allocations: 39.98 kB / 0.5169 GB, free: 18.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.3557, allocations: 1.828 MB / 0.5187 GB, free: 16.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3557, allocations: 4 kB / 0.5187 GB, free: 16.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003255/0.359, allocations: 1.391 MB / 0.52 GB, free: 15.3 MB / 410.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.0002608/0.3592, allocations: 160 kB / 0.5202 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0025/0.3617, allocations: 3.332 MB / 0.5234 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001475/0.3619, allocations: 124.2 kB / 0.5236 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.3623, allocations: 0.6908 MB / 0.5242 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.3644, allocations: 0.9472 MB / 0.5252 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/0.3731, allocations: 10.56 MB / 0.5355 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.3745, allocations: 1.776 MB / 0.5372 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001426/0.376, allocations: 0.6797 MB / 0.5379 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.377, allocations: 0.7471 MB / 0.5386 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.377, allocations: 4 kB / 0.5386 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Templates: time 0.05679/0.4338, allocations: 38.91 MB / 0.5766 GB, free: 5.617 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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.168859050609171]