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.0009645/0.0009645, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001044/0.001044, allocations: 167.2 kB / 24.82 MB, free: 9.309 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.9675/0.9675, allocations: 177 MB / 205.1 MB, free: 5.477 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.2706/0.2706, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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 1.512e-06/1.512e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.584e-05, allocations: 7.797 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01069/0.01071, allocations: 14.51 MB / 393.8 MB, free: 3.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.02002, allocations: 4.956 MB / 398.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.02253, allocations: 127.4 kB / 398.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006194/0.02872, allocations: 5.288 MB / 404.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005671/0.03439, allocations: 2.698 MB / 406.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.03665, allocations: 1.384 MB / 408.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008415/0.04506, allocations: 9.039 MB / 417.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/0.05073, allocations: 5.628 MB / 422.9 MB, free: 5.965 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00756/0.05829, allocations: 5.377 MB / 428.3 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.06393, allocations: 3.87 MB / 432.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.06579, allocations: 0.5508 MB / 432.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.06886, allocations: 1.529 MB / 434.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003278/0.07214, allocations: 3.386 MB / 437.6 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003628/0.07577, allocations: 2.099 MB / 439.7 MB, free: 5.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1805/0.2563, allocations: 6.993 MB / 446.7 MB, free: 67.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2563, allocations: 3.234 kB / 446.7 MB, free: 67.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2563, allocations: 0 / 446.7 MB, free: 67.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003589/0.2567, allocations: 0 / 446.7 MB, free: 67.66 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.01318/0.2698, allocations: 7.854 MB / 454.5 MB, free: 64.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2699, allocations: 11.59 kB / 454.6 MB, free: 64.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008885/0.2788, allocations: 2.693 MB / 457.2 MB, free: 64.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006865/0.2856, allocations: 3.49 MB / 460.7 MB, free: 63.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.2859, allocations: 363.9 kB / 461.1 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.2872, allocations: 491.9 kB / 461.6 MB, free: 63.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.3031, allocations: 8.024 MB / 469.6 MB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003273/0.3063, allocations: 77.59 kB / 469.7 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006729/0.307, allocations: 232.9 kB / 469.9 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.3091, allocations: 2.226 MB / 472.1 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.327, allocations: 3.385 MB / 475.5 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07433/0.4013, allocations: 61.86 MB / 0.5248 GB, free: 25.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/0.4061, allocations: 1.969 MB / 0.5267 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.4067, allocations: 0.5347 MB / 0.5272 GB, free: 24.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005853/0.4126, allocations: 4.802 MB / 0.5319 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4126, allocations: 53.33 kB / 0.532 GB, free: 21.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=147): time 3.176e-06/0.4126, allocations: 0 / 0.532 GB, free: 21.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.01249/0.4251, allocations: 5.719 MB / 0.5375 GB, free: 20.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.4252, allocations: 253.1 kB / 0.5378 GB, free: 19.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/0.4296, allocations: 5.376 MB / 0.543 GB, free: 18.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.4297, allocations: 48.36 kB / 0.5431 GB, free: 18.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.4315, allocations: 5.09 MB / 0.5481 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.4319, allocations: 0.7009 MB / 0.5487 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.4332, allocations: 1.829 MB / 0.5505 GB, free: 11.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4333, allocations: 484.7 kB / 0.551 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/0.4343, allocations: 0.6795 MB / 0.5517 GB, free: 10.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004646/0.4389, allocations: 8.671 MB / 0.5601 GB, free: 14.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/0.4454, allocations: 10.16 MB / 0.57 GB, free: 2.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.045e-05/0.4454, allocations: 52 kB / 0.5701 GB, free: 1.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.00696/0.4524, allocations: 6.534 MB / 0.5765 GB, free: 11.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.4525, allocations: 84 kB / 0.5766 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.4526, allocations: 188.9 kB / 0.5767 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.4531, allocations: 362.2 kB / 0.5771 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.4559, allocations: 1.875 MB / 0.5789 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.4585, allocations: 5.558 MB / 0.5843 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.4617, allocations: 375.6 kB / 0.5847 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/0.4622, allocations: 450.4 kB / 0.5851 GB, free: 2.641 MB / 458.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.001456/0.4637, allocations: 0.8482 MB / 0.586 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.4642, allocations: 0.5182 MB / 0.5865 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4652, allocations: 0.966 MB / 0.5874 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.4653, allocations: 20 kB / 0.5874 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4653, allocations: 0 / 0.5874 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4653, allocations: 11.91 kB / 0.5874 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.4723, allocations: 5.708 MB / 0.593 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4723, allocations: 4 kB / 0.593 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.4729, allocations: 239.6 kB / 0.5932 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.4732, allocations: 119.3 kB / 0.5934 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.4732, allocations: 37.62 kB / 0.5934 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.475, allocations: 5.203 MB / 0.5985 GB, free: 5.293 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.475, allocations: 15.92 kB / 0.5985 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.4771, allocations: 2.28 MB / 0.6007 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.4777, allocations: 480.5 kB / 0.6012 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.4779, allocations: 32 kB / 0.6012 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/0.4787, allocations: 35.98 kB / 0.6012 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4789, allocations: 100.2 kB / 0.6013 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.4789, allocations: 47.97 kB / 0.6014 GB, free: 2.203 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001799/0.4807, allocations: 2.176 MB / 0.6035 GB, free: 52 kB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4807, allocations: 4 kB / 0.6035 GB, free: 48 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.1729/0.6536, allocations: 1.396 MB / 0.6049 GB, free: 135.4 MB / 474.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.0006442/0.6543, allocations: 183 kB / 0.605 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007344/0.6616, allocations: 3.717 MB / 0.6087 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.6616, allocations: 2.812 kB / 0.6087 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.6624, allocations: 0.9065 MB / 0.6096 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.6654, allocations: 0.6521 MB / 0.6102 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.6807, allocations: 10.74 MB / 0.6207 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.6827, allocations: 1.784 MB / 0.6224 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002235/0.6849, allocations: 0.6796 MB / 0.6231 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.6861, allocations: 0.8129 MB / 0.6239 GB, free: 129 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/0.6861, allocations: 0 / 0.6239 GB, free: 129 MB / 474.7 MB Notification: Performance of Templates: time 0.0643/0.7503, allocations: 38.97 MB / 0.6619 GB, free: 111.4 MB / 474.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.811951557174325]