Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.0009798/0.0009798, allocations: 82.59 kB / 21.43 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.001047/0.001047, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.007/1.007, allocations: 177 MB / 205.1 MB, free: 5.488 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.271/0.271, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.069e-05, allocations: 3.578 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.0106/0.01062, allocations: 14.51 MB / 393.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.01746, allocations: 4.958 MB / 398.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.01843, allocations: 127.4 kB / 398.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.02292, allocations: 5.292 MB / 404.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.02696, allocations: 2.69 MB / 406.8 MB, free: 6.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.02863, allocations: 1.384 MB / 408.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006552/0.03518, allocations: 9.078 MB / 417.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/0.03966, allocations: 5.655 MB / 422.9 MB, free: 5.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.04463, allocations: 5.392 MB / 428.3 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.04814, allocations: 3.897 MB / 432.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007239/0.04886, allocations: 0.5508 MB / 432.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.05066, allocations: 1.521 MB / 434.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.05281, allocations: 3.394 MB / 437.7 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.05437, allocations: 2.107 MB / 439.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1705/0.2248, allocations: 7.033 MB / 446.8 MB, free: 67.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2248, allocations: 2.625 kB / 446.8 MB, free: 67.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2248, allocations: 0 / 446.8 MB, free: 67.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002986/0.2251, allocations: 0 / 446.8 MB, free: 67.68 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.008558/0.2337, allocations: 7.891 MB / 454.7 MB, free: 64.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2337, allocations: 11.19 kB / 454.7 MB, free: 64.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006606/0.2403, allocations: 2.718 MB / 457.4 MB, free: 64.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.2442, allocations: 3.504 MB / 460.9 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.2443, allocations: 367.3 kB / 461.3 MB, free: 63.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.2448, allocations: 492.3 kB / 461.8 MB, free: 63.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007636/0.2525, allocations: 8.037 MB / 469.8 MB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2526, allocations: 75 kB / 469.9 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.253, allocations: 228.4 kB / 470.1 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.2546, allocations: 2.226 MB / 472.3 MB, free: 59.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.2596, allocations: 3.401 MB / 475.7 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.2947, allocations: 61.99 MB / 0.5251 GB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.2991, allocations: 2.01 MB / 0.5271 GB, free: 24.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.2996, allocations: 487.8 kB / 0.5276 GB, free: 24.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005047/0.3046, allocations: 4.594 MB / 0.532 GB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3047, allocations: 51.98 kB / 0.5321 GB, free: 21.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.585e-06/0.3047, allocations: 0 / 0.5321 GB, free: 21.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=135): time 0.01253/0.3172, allocations: 5.574 MB / 0.5375 GB, free: 20.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.3173, allocations: 249.6 kB / 0.5378 GB, free: 19.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.3219, allocations: 5.406 MB / 0.5431 GB, free: 18.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.3219, allocations: 41.7 kB / 0.5431 GB, free: 18.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.3237, allocations: 5.127 MB / 0.5481 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.3241, allocations: 0.6366 MB / 0.5487 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.3253, allocations: 1.816 MB / 0.5505 GB, free: 11.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3254, allocations: 476.8 kB / 0.551 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009338/0.3264, allocations: 0.6577 MB / 0.5516 GB, free: 10.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/0.3309, allocations: 8.651 MB / 0.56 GB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008448/0.3394, allocations: 10.1 MB / 0.5699 GB, free: 2.309 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/0.3396, allocations: 52 kB / 0.57 GB, free: 2.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.008336/0.3479, allocations: 6.479 MB / 0.5763 GB, free: 12.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.348, allocations: 84.22 kB / 0.5764 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/0.3481, allocations: 192 kB / 0.5766 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008361/0.349, allocations: 357.7 kB / 0.5769 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.3518, allocations: 1.825 MB / 0.5787 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.3544, allocations: 5.535 MB / 0.5841 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/0.3585, allocations: 375.8 kB / 0.5844 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.3589, allocations: 440 kB / 0.5849 GB, free: 3.059 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 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1017): * Single equations (assignments): 1011 * 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.001555/0.3604, allocations: 0.8482 MB / 0.5857 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/0.3609, allocations: 0.5086 MB / 0.5862 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.362, allocations: 0.8869 MB / 0.587 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.362, allocations: 16 kB / 0.5871 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.362, allocations: 7.391 kB / 0.5871 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.362, allocations: 11.97 kB / 0.5871 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00751/0.3695, allocations: 5.633 MB / 0.5926 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3695, allocations: 4 kB / 0.5926 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.37, allocations: 199.7 kB / 0.5928 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.3703, allocations: 114.9 kB / 0.5929 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.3703, allocations: 28 kB / 0.5929 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.3723, allocations: 5.2 MB / 0.598 GB, free: 5.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3723, allocations: 8 kB / 0.598 GB, free: 5.926 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.3743, allocations: 2.172 MB / 0.6001 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.3748, allocations: 484.5 kB / 0.6006 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.3751, allocations: 36.05 kB / 0.6006 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/0.3759, allocations: 39.92 kB / 0.6007 GB, free: 3.117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.376, allocations: 91.73 kB / 0.6007 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.3761, allocations: 39.98 kB / 0.6008 GB, free: 2.988 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002102/0.3782, allocations: 2.192 MB / 0.6029 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3782, allocations: 0 / 0.6029 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.1887/0.5669, allocations: 1.369 MB / 0.6043 GB, free: 134.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (114): * Single equations (assignments): 108 * 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.0005957/0.5675, allocations: 176.8 kB / 0.6044 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005531/0.573, allocations: 3.645 MB / 0.608 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/0.573, allocations: 2.906 kB / 0.608 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.5738, allocations: 0.8616 MB / 0.6088 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.577, allocations: 0.6571 MB / 0.6095 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.5924, allocations: 10.7 MB / 0.6199 GB, free: 128.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.5941, allocations: 1.783 MB / 0.6217 GB, free: 128.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001974/0.596, allocations: 0.6776 MB / 0.6223 GB, free: 128.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.5973, allocations: 0.807 MB / 0.6231 GB, free: 128.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5973, allocations: 0 / 0.6231 GB, free: 128.3 MB / 474.7 MB Notification: Performance of Templates: time 0.0618/0.6591, allocations: 39.28 MB / 0.6615 GB, free: 111.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.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.778170067816973]