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.001396/0.001396, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001662/0.001662, allocations: 169 kB / 24.14 MB, free: 364 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.9497/0.9497, allocations: 158.6 MB / 186 MB, free: 2.77 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.1373/0.1373, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.753e-06/1.753e-06, allocations: 0 / 299.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.094e-05, allocations: 2.312 kB / 299.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.1478/0.1478, allocations: 12.98 MB / 312.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009012/0.1568, allocations: 4.68 MB / 316.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1585, allocations: 104.9 kB / 316.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.163, allocations: 3.968 MB / 320.9 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.1674, allocations: 2.52 MB / 323.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.169, allocations: 1.13 MB / 324.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.1744, allocations: 6.568 MB / 331.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.1788, allocations: 4.186 MB / 335.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.1829, allocations: 3.735 MB / 339 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.186, allocations: 3.012 MB / 342 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.1868, allocations: 452 kB / 342.5 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.1884, allocations: 1.478 MB / 344 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.19, allocations: 2.833 MB / 346.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.1916, allocations: 1.733 MB / 348.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.1965, allocations: 6.158 MB / 354.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1965, allocations: 0 / 354.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1965, allocations: 0 / 354.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.699e-05/0.1966, allocations: 0 / 354.7 MB, free: 6.43 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.00621/0.2028, allocations: 5.981 MB / 360.7 MB, free: 396 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2028, allocations: 12.03 kB / 360.7 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.2067, allocations: 1.425 MB / 362.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.2098, allocations: 2.736 MB / 364.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.21, allocations: 296.7 kB / 365.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.2104, allocations: 400.1 kB / 365.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006677/0.2171, allocations: 6.189 MB / 371.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-05/0.2172, allocations: 59.5 kB / 371.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.2175, allocations: 187.8 kB / 372 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.2192, allocations: 2.125 MB / 374.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/0.2247, allocations: 3.102 MB / 377.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/0.2535, allocations: 38.66 MB / 415.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.2575, allocations: 1.796 MB / 417.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.258, allocations: 412.1 kB / 418 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007262/0.2653, allocations: 4.101 MB / 422.1 MB, free: 480 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.2653, allocations: 63.5 kB / 422.2 MB, free: 408 kB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.968e-06/0.2653, allocations: 0 / 422.2 MB, free: 408 kB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.01364/0.279, allocations: 4.403 MB / 426.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.279, allocations: 200.9 kB / 426.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/0.2831, allocations: 4.221 MB / 431 MB, free: 7.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.2832, allocations: 49.7 kB / 431.1 MB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.2854, allocations: 3.926 MB / 435 MB, free: 3.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.2859, allocations: 0.6553 MB / 435.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.2873, allocations: 1.429 MB / 437.1 MB, free: 1.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.2874, allocations: 309.1 kB / 437.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.289, allocations: 0.8644 MB / 438.2 MB, free: 196 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.2935, allocations: 5.448 MB / 443.7 MB, free: 8.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/0.3, allocations: 6.956 MB / 450.6 MB, free: 15.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.685e-05/0.3001, allocations: 48 kB / 450.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.006992/0.307, allocations: 5.002 MB / 455.7 MB, free: 9.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.025e-05/0.3071, allocations: 87.23 kB / 455.8 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.3073, allocations: 168 kB / 455.9 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.3078, allocations: 291.3 kB / 456.2 MB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.312, allocations: 1.755 MB / 458 MB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.3138, allocations: 2.731 MB / 460.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.3173, allocations: 339.6 kB / 461 MB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004393/0.3178, allocations: 400.1 kB / 461.4 MB, free: 4.047 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.0015/0.3192, allocations: 0.7321 MB / 462.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.3197, allocations: 251.7 kB / 462.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3209, allocations: 0.8164 MB / 463.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.3209, allocations: 16 kB / 463.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3209, allocations: 4 kB / 463.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.321, allocations: 3.984 kB / 463.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1515/0.4725, allocations: 4.329 MB / 467.6 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.4725, allocations: 6.75 kB / 467.6 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/0.4733, allocations: 251.2 kB / 467.8 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.4738, allocations: 318.4 kB / 468.1 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.4739, allocations: 30.19 kB / 468.2 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009177/0.4748, allocations: 2.432 MB / 470.6 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4748, allocations: 12.78 kB / 470.6 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.4767, allocations: 1.775 MB / 472.4 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008996/0.4776, allocations: 0.5066 MB / 472.9 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.478, allocations: 35.25 kB / 472.9 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.4787, allocations: 33.53 kB / 473 MB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.4789, allocations: 109.9 kB / 473.1 MB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.479, allocations: 37.58 kB / 473.1 MB, free: 126.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.4811, allocations: 1.586 MB / 474.7 MB, free: 126.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4811, allocations: 0 / 474.7 MB, free: 126.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009049/0.4902, allocations: 1.233 MB / 475.9 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.0005874/0.4908, allocations: 172.9 kB / 476.1 MB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006212/0.497, allocations: 2.95 MB / 479.1 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004159/0.4974, allocations: 114.7 kB / 479.2 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4984, allocations: 0.5776 MB / 479.7 MB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/0.5031, allocations: 0.7863 MB / 480.5 MB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.5209, allocations: 9.269 MB / 489.8 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.5225, allocations: 1.564 MB / 491.4 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001785/0.5242, allocations: 0.6042 MB / 492 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.5252, allocations: 0.6474 MB / 492.6 MB, free: 121.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5252, allocations: 0 / 492.6 MB, free: 121.1 MB / 426.7 MB Notification: Performance of Templates: time 0.05025/0.5754, allocations: 33.48 MB / 0.5138 GB, free: 90.36 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 -s gbode -gbm=radauIIA3 -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.208348498214036]