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.0014/0.0014, allocations: 81.95 kB / 21.44 MB, free: 3.055 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.001023/0.001023, allocations: 166.5 kB / 24.83 MB, free: 8.867 MB / 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.8612/0.8612, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1236/0.1236, allocations: 32.36 MB / 271.5 MB, free: 2.461 MB / 250.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.352e-06/1.352e-06, allocations: 0 / 349 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.381e-05, allocations: 6.25 kB / 349 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.1293/0.1293, allocations: 12.95 MB / 361.9 MB, free: 60.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.1366, allocations: 4.481 MB / 366.4 MB, free: 57.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1377, allocations: 104.2 kB / 366.5 MB, free: 57.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.1411, allocations: 3.984 MB / 370.5 MB, free: 55.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.1442, allocations: 2.524 MB / 373 MB, free: 54.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1454, allocations: 1.128 MB / 374.1 MB, free: 53.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004699/0.1501, allocations: 6.601 MB / 380.7 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.153, allocations: 4.327 MB / 385.1 MB, free: 43.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.156, allocations: 3.836 MB / 388.9 MB, free: 39.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.1583, allocations: 3.129 MB / 392 MB, free: 36.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000447/0.1587, allocations: 456 kB / 392.5 MB, free: 36.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1601, allocations: 1.443 MB / 393.9 MB, free: 34.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.1612, allocations: 2.832 MB / 396.8 MB, free: 31.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.1622, allocations: 1.74 MB / 398.5 MB, free: 30.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.1656, allocations: 6.154 MB / 404.6 MB, free: 23.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1656, allocations: 4 kB / 404.6 MB, free: 23.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1656, allocations: 4 kB / 404.7 MB, free: 23.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.119e-05/0.1656, allocations: 0 / 404.7 MB, free: 23.88 MB / 330.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.005198/0.1708, allocations: 6.696 MB / 411.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1708, allocations: 12.03 kB / 411.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/0.176, allocations: 2.241 MB / 413.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.1787, allocations: 2.937 MB / 416.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1789, allocations: 300 kB / 416.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/0.1792, allocations: 400.1 kB / 417.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.1851, allocations: 6.913 MB / 424.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.871e-05/0.1852, allocations: 52.88 kB / 424.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.1855, allocations: 187.8 kB / 424.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.187, allocations: 2.136 MB / 426.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.1918, allocations: 3.058 MB / 429.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/0.2255, allocations: 53.73 MB / 483.3 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.2297, allocations: 1.803 MB / 485.1 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.2303, allocations: 0.4896 MB / 485.6 MB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005014/0.2353, allocations: 4.405 MB / 490 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.2353, allocations: 54.39 kB / 490 MB, free: 15.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.996e-06/0.2353, allocations: 0 / 490 MB, free: 15.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.01098/0.2463, allocations: 5.038 MB / 495.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.2463, allocations: 196.9 kB / 495.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.2501, allocations: 4.708 MB / 500 MB, free: 5.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.2501, allocations: 45.7 kB / 0.4883 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/0.252, allocations: 4.463 MB / 0.4927 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.2524, allocations: 0.6904 MB / 0.4933 GB, free: 52 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.2539, allocations: 1.661 MB / 0.495 GB, free: 14.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.254, allocations: 480.8 kB / 0.4954 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008767/0.2549, allocations: 0.6506 MB / 0.4961 GB, free: 13.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/0.2587, allocations: 7.689 MB / 0.5036 GB, free: 2.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1417/0.4004, allocations: 9.067 MB / 0.5124 GB, free: 117.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.4005, allocations: 48.16 kB / 0.5125 GB, free: 117.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.009114/0.4097, allocations: 5.872 MB / 0.5182 GB, free: 116.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4098, allocations: 78 kB / 0.5183 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002791/0.41, allocations: 166.4 kB / 0.5184 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.4107, allocations: 290 kB / 0.5187 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.4145, allocations: 1.685 MB / 0.5204 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.416, allocations: 3.781 MB / 0.524 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.4198, allocations: 341.5 kB / 0.5244 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/0.4203, allocations: 402 kB / 0.5248 GB, free: 112.7 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.001432/0.4217, allocations: 0.768 MB / 0.5255 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/0.4222, allocations: 468.5 kB / 0.526 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.4236, allocations: 0.9276 MB / 0.5269 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.4236, allocations: 18.81 kB / 0.5269 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4236, allocations: 0 / 0.5269 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4236, allocations: 6.516 kB / 0.5269 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/0.4304, allocations: 5.165 MB / 0.5319 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4304, allocations: 9.156 kB / 0.5319 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.4311, allocations: 241.5 kB / 0.5322 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.4314, allocations: 84.77 kB / 0.5322 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.4315, allocations: 38.42 kB / 0.5323 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.4325, allocations: 3.483 MB / 0.5357 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.4325, allocations: 15.69 kB / 0.5357 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4343, allocations: 2.136 MB / 0.5378 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.435, allocations: 0.5299 MB / 0.5383 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.4353, allocations: 34.84 kB / 0.5383 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.4363, allocations: 37.42 kB / 0.5384 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.4365, allocations: 108.9 kB / 0.5385 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006034/0.4425, allocations: 48.73 kB / 0.5385 GB, free: 106.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001994/0.4445, allocations: 1.902 MB / 0.5404 GB, free: 106.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4445, allocations: 0 / 0.5404 GB, free: 106.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007057/0.4516, allocations: 1.236 MB / 0.5416 GB, free: 105.8 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.0002854/0.4519, allocations: 188.2 kB / 0.5418 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008855/0.4607, allocations: 3.28 MB / 0.545 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4607, allocations: 4 kB / 0.545 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.4615, allocations: 0.7418 MB / 0.5457 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/0.468, allocations: 0.5475 MB / 0.5462 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.483, allocations: 9.398 MB / 0.5554 GB, free: 92.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.4847, allocations: 1.57 MB / 0.5569 GB, free: 91.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002371/0.4871, allocations: 0.6066 MB / 0.5575 GB, free: 91.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.4884, allocations: 0.6978 MB / 0.5582 GB, free: 90.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4884, allocations: 4 kB / 0.5582 GB, free: 90.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05159/0.54, allocations: 34.26 MB / 0.5917 GB, free: 57.04 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.4002557238563895]