Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.671e-05, allocations: 7.188 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01039/0.01043, allocations: 12.01 MB / 335.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007553/0.01798, allocations: 4.559 MB / 339.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.01942, allocations: 103.5 kB / 340 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.0233, allocations: 3.921 MB / 343.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.02767, allocations: 2.309 MB / 346.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.02927, allocations: 1.111 MB / 347.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006845/0.03611, allocations: 6.762 MB / 354.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004111/0.04022, allocations: 4.015 MB / 358.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005717/0.04594, allocations: 3.879 MB / 361.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.0496, allocations: 2.79 MB / 364.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000992/0.0506, allocations: 420 kB / 365.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.05281, allocations: 1.435 MB / 366.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.05508, allocations: 2.618 MB / 369.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.05724, allocations: 1.593 MB / 370.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.06354, allocations: 5.683 MB / 376.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.06355, allocations: 7.984 kB / 376.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06355, allocations: 0 / 376.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001898/0.06374, allocations: 0 / 376.5 MB, free: 4.215 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.008022/0.07176, allocations: 5.618 MB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.0718, allocations: 12.03 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/0.07546, allocations: 1.296 MB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.0793, allocations: 2.603 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.07946, allocations: 279.5 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.08004, allocations: 388 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/0.08771, allocations: 5.788 MB / 392.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.08784, allocations: 55.55 kB / 392.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.08818, allocations: 175.8 kB / 392.7 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.08981, allocations: 1.889 MB / 394.6 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005919/0.09573, allocations: 2.855 MB / 397.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03113/0.1269, allocations: 36.61 MB / 434 MB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.1309, allocations: 1.686 MB / 435.7 MB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.1315, allocations: 365 kB / 436.1 MB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0062/0.1377, allocations: 3.799 MB / 439.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1377, allocations: 47.2 kB / 439.9 MB, free: 2.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.376e-06/0.1377, allocations: 0 / 439.9 MB, free: 2.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.0105/0.1482, allocations: 4.064 MB / 444 MB, free: 14.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1483, allocations: 192.6 kB / 444.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/0.1521, allocations: 4.052 MB / 448.2 MB, free: 9.848 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.1522, allocations: 41.7 kB / 448.3 MB, free: 9.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/0.154, allocations: 3.677 MB / 451.9 MB, free: 6.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.1544, allocations: 0.5701 MB / 452.5 MB, free: 5.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.1554, allocations: 1.346 MB / 453.9 MB, free: 4.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.1555, allocations: 301.1 kB / 454.2 MB, free: 3.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.1567, allocations: 0.7964 MB / 454.9 MB, free: 3.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1665/0.3232, allocations: 5.219 MB / 460.2 MB, free: 106 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/0.3283, allocations: 6.632 MB / 466.8 MB, free: 100 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/0.3285, allocations: 46.59 kB / 466.8 MB, free: 100 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.006877/0.3354, allocations: 4.754 MB / 471.6 MB, free: 99.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.3354, allocations: 75.66 kB / 471.7 MB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/0.3356, allocations: 161.8 kB / 471.8 MB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.3361, allocations: 281.3 kB / 472.1 MB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.3388, allocations: 1.651 MB / 473.8 MB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.34, allocations: 2.714 MB / 476.5 MB, free: 96.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.343, allocations: 320 kB / 476.8 MB, free: 96.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.3434, allocations: 380.6 kB / 477.2 MB, free: 96.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (872): * Single equations (assignments): 865 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00132/0.3448, allocations: 0.7063 MB / 477.9 MB, free: 96.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.3451, allocations: 237.5 kB / 478.1 MB, free: 96.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.3459, allocations: 0.6738 MB / 478.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3459, allocations: 15.78 kB / 478.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3459, allocations: 0 / 478.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3459, allocations: 7.844 kB / 478.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/0.3511, allocations: 3.872 MB / 482.7 MB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3511, allocations: 7.281 kB / 482.7 MB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.3516, allocations: 209.1 kB / 482.9 MB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.3521, allocations: 313.4 kB / 483.2 MB, free: 95.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.3521, allocations: 27.95 kB / 483.2 MB, free: 95.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009256/0.3531, allocations: 2.427 MB / 485.6 MB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3531, allocations: 11.94 kB / 485.6 MB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3543, allocations: 1.581 MB / 487.2 MB, free: 92.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.3548, allocations: 384.7 kB / 487.6 MB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.3551, allocations: 31.83 kB / 487.6 MB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.3557, allocations: 27.03 kB / 487.7 MB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3558, allocations: 90.27 kB / 487.7 MB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.3559, allocations: 31.22 kB / 487.8 MB, free: 92.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.3571, allocations: 1.512 MB / 489.3 MB, free: 91.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3571, allocations: 0 / 489.3 MB, free: 91.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003811/0.3609, allocations: 1.115 MB / 490.4 MB, free: 90.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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,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.0003058/0.3612, allocations: 156.9 kB / 490.6 MB, free: 90.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.3646, allocations: 2.764 MB / 493.3 MB, free: 88.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000154/0.3647, allocations: 111.2 kB / 493.4 MB, free: 88.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.3651, allocations: 0.5126 MB / 493.9 MB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.3673, allocations: 0.7646 MB / 494.7 MB, free: 87.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3774, allocations: 8.494 MB / 0.4914 GB, free: 79.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.3786, allocations: 1.431 MB / 0.4928 GB, free: 79.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001606/0.3802, allocations: 0.5783 MB / 0.4934 GB, free: 78.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/0.3811, allocations: 0.6127 MB / 0.494 GB, free: 78.19 MB / 426.7 MB Notification: Performance of SimCode: time 2.645e-06/0.3811, allocations: 4 kB / 0.494 GB, free: 78.19 MB / 426.7 MB Notification: Performance of Templates: time 0.05162/0.4327, allocations: 30.83 MB / 0.5241 GB, free: 48.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.1921616489999]