Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001285/0.001285, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001471/0.001471, allocations: 169.3 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9637/0.9637, allocations: 158.6 MB / 186 MB, free: 2.738 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1292/0.1292, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.917e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.178/0.178, allocations: 12.95 MB / 312.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1891, allocations: 4.673 MB / 316.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.1921, allocations: 107.8 kB / 316.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.1967, allocations: 4.042 MB / 320.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.2017, allocations: 2.545 MB / 323.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2034, allocations: 1.134 MB / 324.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005454/0.2088, allocations: 6.573 MB / 331.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00369/0.2125, allocations: 4.412 MB / 335.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.2162, allocations: 3.801 MB / 339.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.2191, allocations: 3.008 MB / 342.4 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006429/0.2198, allocations: 456 kB / 342.8 MB, free: 2.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.2217, allocations: 1.435 MB / 344.2 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.2234, allocations: 2.832 MB / 347.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.2253, allocations: 1.733 MB / 348.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006912/0.2322, allocations: 6.154 MB / 355 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.2322, allocations: 4 kB / 355 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2322, allocations: 0 / 355 MB, free: 6.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001911/0.2324, allocations: 0 / 355 MB, free: 6.156 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.007293/0.2397, allocations: 5.977 MB / 360.9 MB, free: 120 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2397, allocations: 8.031 kB / 360.9 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.2434, allocations: 1.429 MB / 362.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.2468, allocations: 2.74 MB / 365.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.2469, allocations: 296 kB / 365.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/0.2474, allocations: 404.1 kB / 365.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/0.2536, allocations: 6.178 MB / 372 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.621e-05/0.2537, allocations: 59.5 kB / 372 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.254, allocations: 191.8 kB / 372.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.256, allocations: 2.128 MB / 374.3 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.2612, allocations: 3.09 MB / 377.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03214/0.2933, allocations: 38.67 MB / 416.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.2971, allocations: 1.788 MB / 417.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.2976, allocations: 410.2 kB / 418.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005417/0.303, allocations: 4.113 MB / 422.4 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.303, allocations: 51.5 kB / 422.5 MB, free: 132 kB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.437e-06/0.303, allocations: 4 kB / 422.5 MB, free: 128 kB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.009859/0.3129, allocations: 4.407 MB / 426.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.313, allocations: 196.9 kB / 427.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/0.3166, allocations: 4.225 MB / 431.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.3167, allocations: 45.7 kB / 431.3 MB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.3186, allocations: 3.926 MB / 435.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.319, allocations: 0.6553 MB / 435.9 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.3202, allocations: 1.433 MB / 437.3 MB, free: 1.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006253/0.3208, allocations: 301.1 kB / 437.6 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.3221, allocations: 0.8644 MB / 438.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.3262, allocations: 5.456 MB / 444 MB, free: 8.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.3319, allocations: 6.956 MB / 450.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.235e-05/0.332, allocations: 52 kB / 451 MB, free: 14.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.005735/0.3377, allocations: 4.999 MB / 456 MB, free: 9.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.3378, allocations: 83.94 kB / 456.1 MB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/0.3379, allocations: 164.9 kB / 456.2 MB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.3384, allocations: 295.3 kB / 456.5 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.3409, allocations: 1.68 MB / 458.2 MB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.3423, allocations: 2.731 MB / 460.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.3449, allocations: 335.6 kB / 461.2 MB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.3452, allocations: 396 kB / 461.6 MB, free: 3.848 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 760 * Number of states: 0 () * Number of discrete variables: 45 (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 (932): * Single equations (assignments): 925 * 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.001471/0.3467, allocations: 0.74 MB / 462.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.347, allocations: 255.7 kB / 462.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/0.3479, allocations: 0.8125 MB / 463.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.348, allocations: 16 kB / 463.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.348, allocations: 4 kB / 463.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.348, allocations: 7.969 kB / 463.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1905/0.5384, allocations: 4.32 MB / 467.8 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.5385, allocations: 8.156 kB / 467.8 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.5392, allocations: 232.9 kB / 468 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/0.5398, allocations: 316.3 kB / 468.3 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.5399, allocations: 38.34 kB / 468.4 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.541, allocations: 2.418 MB / 470.8 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.541, allocations: 12.5 kB / 470.8 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.5433, allocations: 1.781 MB / 472.6 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/0.5442, allocations: 0.4989 MB / 473.1 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/0.5447, allocations: 31.91 kB / 473.1 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.5456, allocations: 36.86 kB / 473.1 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.5458, allocations: 110.4 kB / 473.2 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.5458, allocations: 41.78 kB / 473.3 MB, free: 126.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002206/0.548, allocations: 1.58 MB / 474.9 MB, free: 126.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.548, allocations: 0 / 474.9 MB, free: 126.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004806/0.5528, allocations: 1.241 MB / 476.1 MB, free: 126.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (130): * Single equations (assignments): 125 * 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.0003579/0.5532, allocations: 174.4 kB / 476.3 MB, free: 126.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.5576, allocations: 2.954 MB / 479.2 MB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002004/0.5578, allocations: 112 kB / 479.3 MB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.5584, allocations: 0.58 MB / 479.9 MB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.5609, allocations: 0.7871 MB / 480.7 MB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.5714, allocations: 9.261 MB / 490 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.5727, allocations: 1.562 MB / 491.5 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001362/0.574, allocations: 0.6103 MB / 492.1 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/0.5749, allocations: 0.6448 MB / 492.8 MB, free: 121.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5749, allocations: 0 / 492.8 MB, free: 121.2 MB / 426.7 MB Notification: Performance of Templates: time 0.047/0.6219, allocations: 33.48 MB / 0.5139 GB, free: 90.43 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2997224922291934]