Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001522/0.001522, 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.001789/0.001789, 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.9699/0.9699, 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.2719/0.2719, 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.778e-05, allocations: 4 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009687/0.009715, allocations: 12.27 MB / 391 MB, free: 5.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007457/0.01717, allocations: 4.43 MB / 395.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.01849, allocations: 107.4 kB / 395.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.02222, allocations: 3.991 MB / 399.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.02593, allocations: 2.325 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.02743, allocations: 1.115 MB / 403 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006124/0.03355, allocations: 6.796 MB / 409.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004269/0.03782, allocations: 4.162 MB / 414 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.04098, allocations: 3.005 MB / 417 MB, free: 11.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.04359, allocations: 2.966 MB / 419.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.04415, allocations: 416 kB / 420.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.04617, allocations: 1.393 MB / 421.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.04772, allocations: 2.63 MB / 424.4 MB, free: 4.297 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.04899, allocations: 1.597 MB / 426 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005807/0.05479, allocations: 5.691 MB / 431.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.0548, allocations: 8 kB / 431.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0548, allocations: 0 / 431.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.05491, allocations: 0 / 431.7 MB, free: 12.97 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.009161/0.06408, allocations: 6.561 MB / 438.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.06412, allocations: 12.03 kB / 438.2 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.0724, allocations: 3.102 MB / 441.3 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1791/0.2515, allocations: 3.293 MB / 444.6 MB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.2517, allocations: 282.2 kB / 444.9 MB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009248/0.2526, allocations: 376.8 kB / 445.3 MB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.2627, allocations: 7.275 MB / 452.6 MB, free: 73.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.2628, allocations: 56.7 kB / 452.6 MB, free: 73.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.2631, allocations: 179.4 kB / 452.8 MB, free: 73.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.265, allocations: 2.146 MB / 454.9 MB, free: 73.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007698/0.2727, allocations: 3.881 MB / 458.8 MB, free: 73.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.3039, allocations: 51.32 MB / 0.4982 GB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/0.3092, allocations: 2.129 MB / 0.5002 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.3104, allocations: 0.674 MB / 0.5009 GB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006068/0.3165, allocations: 4.258 MB / 0.5051 GB, free: 29.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3165, allocations: 58.12 kB / 0.5051 GB, free: 29.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.379e-06/0.3165, allocations: 0 / 0.5051 GB, free: 29.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02516/0.3417, allocations: 13.54 MB / 0.5183 GB, free: 25.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3417, allocations: 226.6 kB / 0.5186 GB, free: 24.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.3455, allocations: 4.382 MB / 0.5228 GB, free: 23.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.3457, allocations: 49.39 kB / 0.5229 GB, free: 23.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.3473, allocations: 4.062 MB / 0.5268 GB, free: 19.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/0.3479, allocations: 0.706 MB / 0.5275 GB, free: 19.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.3489, allocations: 1.523 MB / 0.529 GB, free: 17.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.349, allocations: 476.8 kB / 0.5295 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.35, allocations: 0.7412 MB / 0.5302 GB, free: 16.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.3526, allocations: 7.1 MB / 0.5371 GB, free: 6.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.3584, allocations: 8.569 MB / 0.5455 GB, free: 11.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.3585, allocations: 40 kB / 0.5455 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01082/0.3693, allocations: 6.499 MB / 0.5519 GB, free: 6.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.3694, allocations: 81.56 kB / 0.552 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.3695, allocations: 148 kB / 0.5521 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.3714, allocations: 0.8066 MB / 0.5529 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.3743, allocations: 1.563 MB / 0.5544 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.3797, allocations: 5.918 MB / 0.5602 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/0.3835, allocations: 431.5 kB / 0.5606 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006501/0.3841, allocations: 416 kB / 0.561 GB, free: 13.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (836): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001699/0.3858, allocations: 0.7303 MB / 0.5617 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007427/0.3866, allocations: 445.3 kB / 0.5621 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.3892, allocations: 1.748 MB / 0.5639 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.3892, allocations: 20 kB / 0.5639 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.3892, allocations: 4 kB / 0.5639 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3893, allocations: 7.969 kB / 0.5639 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009103/0.3984, allocations: 5.845 MB / 0.5696 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.3984, allocations: 4 kB / 0.5696 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.3991, allocations: 255.9 kB / 0.5698 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.4005, allocations: 0.5896 MB / 0.5704 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.4006, allocations: 31.94 kB / 0.5704 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.4051, allocations: 5.419 MB / 0.5757 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4051, allocations: 7.938 kB / 0.5757 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.4091, allocations: 2.943 MB / 0.5786 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/0.4101, allocations: 405.2 kB / 0.579 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.4105, allocations: 24 kB / 0.579 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.4115, allocations: 158.7 kB / 0.5792 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.4117, allocations: 104.7 kB / 0.5793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.4117, allocations: 51.98 kB / 0.5793 GB, free: 9.914 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002774/0.4145, allocations: 1.905 MB / 0.5812 GB, free: 8.008 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4145, allocations: 4 kB / 0.5812 GB, free: 8.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004455/0.419, allocations: 1.273 MB / 0.5824 GB, free: 6.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/0.4194, allocations: 174.1 kB / 0.5826 GB, free: 6.551 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005787/0.4252, allocations: 3.553 MB / 0.5861 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4252, allocations: 1.875 kB / 0.5861 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.4263, allocations: 0.9611 MB / 0.587 GB, free: 1.992 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.4288, allocations: 0.5284 MB / 0.5875 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.4419, allocations: 8.859 MB / 0.5962 GB, free: 8.488 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.4435, allocations: 1.488 MB / 0.5976 GB, free: 6.973 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002849/0.4463, allocations: 1.744 MB / 0.5993 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.447, allocations: 264.4 kB / 0.5996 GB, free: 4.965 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/0.447, allocations: 0 / 0.5996 GB, free: 4.965 MB / 474.7 MB Notification: Performance of Templates: time 0.1944/0.6413, allocations: 36.93 MB / 0.6357 GB, free: 130.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.7467495310120285]