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.001085/0.001085, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001066/0.001066, allocations: 169 kB / 23.8 MB, free: 0.7734 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.8159/0.8159, allocations: 158.6 MB / 185.7 MB, free: 2.898 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.1221/0.1221, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.743e-06/1.743e-06, allocations: 3.984 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.796e-05, allocations: 4.281 kB / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.008412/0.00843, allocations: 13.28 MB / 361 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.01482, allocations: 4.532 MB / 365.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.01583, allocations: 103.5 kB / 365.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.01943, allocations: 4.038 MB / 369.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.02337, allocations: 2.527 MB / 372.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.02496, allocations: 1.127 MB / 373.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.03116, allocations: 6.609 MB / 379.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/0.03569, allocations: 4.307 MB / 384.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.04025, allocations: 3.82 MB / 388.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.04388, allocations: 3.137 MB / 391.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008959/0.04478, allocations: 456 kB / 391.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.0469, allocations: 1.447 MB / 393.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.04894, allocations: 2.848 MB / 395.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.051, allocations: 1.737 MB / 397.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006623/0.05762, allocations: 6.154 MB / 403.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.05763, allocations: 0 / 403.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.05763, allocations: 0 / 403.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001674/0.0578, allocations: 0 / 403.8 MB, free: 1.051 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.0103/0.0681, allocations: 7.017 MB / 410.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.06814, allocations: 12.03 kB / 410.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008949/0.07709, allocations: 3.176 MB / 414 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.08172, allocations: 3.335 MB / 417.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.08191, allocations: 296 kB / 417.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/0.08248, allocations: 404.1 kB / 418 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00995/0.09243, allocations: 7.726 MB / 425.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.09254, allocations: 51.56 kB / 425.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003207/0.09286, allocations: 187.8 kB / 426 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/0.09477, allocations: 2.3 MB / 428.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/0.1031, allocations: 4.001 MB / 432.3 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1783/0.2814, allocations: 54.1 MB / 486.4 MB, free: 36.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/0.2861, allocations: 2.076 MB / 488.5 MB, free: 36.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.2868, allocations: 0.5786 MB / 489.1 MB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005144/0.2919, allocations: 4.621 MB / 493.7 MB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.292, allocations: 54.52 kB / 493.7 MB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.166e-06/0.292, allocations: 3.688 kB / 493.7 MB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01243/0.3044, allocations: 9.17 MB / 0.4911 GB, free: 31.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3044, allocations: 207.8 kB / 0.4913 GB, free: 31.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.3082, allocations: 4.74 MB / 0.496 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.3083, allocations: 45.67 kB / 0.496 GB, free: 30.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3097, allocations: 4.427 MB / 0.5003 GB, free: 27.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.31, allocations: 0.6826 MB / 0.501 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3111, allocations: 1.626 MB / 0.5026 GB, free: 26.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.3111, allocations: 484.5 kB / 0.503 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.312, allocations: 0.7181 MB / 0.5037 GB, free: 25.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.3144, allocations: 7.732 MB / 0.5113 GB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.3186, allocations: 9.227 MB / 0.5203 GB, free: 3.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.797e-05/0.3187, allocations: 48 kB / 0.5203 GB, free: 3.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.006525/0.3252, allocations: 6.29 MB / 0.5265 GB, free: 13.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/0.3253, allocations: 78.66 kB / 0.5266 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.3255, allocations: 168 kB / 0.5267 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.326, allocations: 296 kB / 0.527 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.33, allocations: 1.751 MB / 0.5287 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.332, allocations: 3.833 MB / 0.5325 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003634/0.3356, allocations: 0.5023 MB / 0.5329 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004558/0.3361, allocations: 458.1 kB / 0.5334 GB, free: 6.223 MB / 394.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.001315/0.3374, allocations: 0.7754 MB / 0.5341 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/0.3379, allocations: 465.1 kB / 0.5346 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.3396, allocations: 0.9902 MB / 0.5356 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.3396, allocations: 18.42 kB / 0.5356 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3396, allocations: 8 kB / 0.5356 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3396, allocations: 7.922 kB / 0.5356 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007858/0.3475, allocations: 5.284 MB / 0.5407 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.3475, allocations: 7.625 kB / 0.5408 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.3484, allocations: 303.5 kB / 0.541 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.3487, allocations: 91.42 kB / 0.5411 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.3487, allocations: 35.94 kB / 0.5412 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.3506, allocations: 3.525 MB / 0.5446 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.3506, allocations: 15.88 kB / 0.5446 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.3532, allocations: 2.269 MB / 0.5468 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.354, allocations: 0.5906 MB / 0.5474 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.3543, allocations: 31.98 kB / 0.5474 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.3555, allocations: 159.8 kB / 0.5476 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.3557, allocations: 108.2 kB / 0.5477 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/0.3558, allocations: 55.89 kB / 0.5478 GB, free: 6.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002662/0.3585, allocations: 2.063 MB / 0.5498 GB, free: 4.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3585, allocations: 4 kB / 0.5498 GB, free: 4.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004545/0.363, allocations: 1.23 MB / 0.551 GB, free: 3.641 MB / 410.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.0003448/0.3633, allocations: 185.2 kB / 0.5511 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/0.3678, allocations: 3.463 MB / 0.5545 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3678, allocations: 0 / 0.5545 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.3686, allocations: 0.7807 MB / 0.5553 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.3707, allocations: 0.5332 MB / 0.5558 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.3831, allocations: 9.438 MB / 0.565 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.3846, allocations: 1.57 MB / 0.5666 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003143/0.3877, allocations: 1.909 MB / 0.5684 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.3882, allocations: 280.5 kB / 0.5687 GB, free: 1.254 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3882, allocations: 0 / 0.5687 GB, free: 1.254 MB / 426.7 MB Notification: Performance of Templates: time 0.04842/0.4366, allocations: 31.33 MB / 0.5993 GB, free: 2.129 MB / 458.7 MB " [Timeout remaining time 660] 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.189666000660509]