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.001033/0.001033, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001131/0.001131, allocations: 169 kB / 24.24 MB, free: 312 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.8566/0.8566, allocations: 158.6 MB / 186 MB, free: 2.91 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.1334/0.1334, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 2.856e-06/2.856e-06, allocations: 0 / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.519e-05, allocations: 8.281 kB / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01114/0.01117, allocations: 13.24 MB / 360.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.01767, allocations: 4.521 MB / 365.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.01862, allocations: 107.5 kB / 365.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.02234, allocations: 4.03 MB / 369.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.02547, allocations: 2.515 MB / 372.1 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.02678, allocations: 1.13 MB / 373.2 MB, free: 100 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.03132, allocations: 6.596 MB / 379.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.0345, allocations: 4.315 MB / 384.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.03711, allocations: 3.204 MB / 387.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.03975, allocations: 3.172 MB / 390.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.04019, allocations: 456 kB / 391 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.042, allocations: 1.439 MB / 392.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.04399, allocations: 2.844 MB / 395.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.04529, allocations: 1.737 MB / 397 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.0498, allocations: 6.142 MB / 403.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.04981, allocations: 3.984 kB / 403.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.04981, allocations: 0 / 403.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.148e-05/0.04985, allocations: 0 / 403.1 MB, free: 2.066 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.006574/0.05642, allocations: 6.975 MB / 410.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.05646, allocations: 12.03 kB / 410.1 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.06293, allocations: 3.25 MB / 413.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.06678, allocations: 3.46 MB / 416.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.06693, allocations: 304 kB / 417.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.06735, allocations: 404.1 kB / 417.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007958/0.07531, allocations: 7.725 MB / 425.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.729e-05/0.0754, allocations: 51.52 kB / 425.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.07571, allocations: 195.8 kB / 425.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.07798, allocations: 2.405 MB / 427.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/0.08502, allocations: 4.188 MB / 432.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2103/0.2954, allocations: 53.67 MB / 485.8 MB, free: 59.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/0.3006, allocations: 2.277 MB / 488 MB, free: 59.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009959/0.3016, allocations: 0.7705 MB / 488.8 MB, free: 59.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004992/0.3066, allocations: 4.813 MB / 493.6 MB, free: 56.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3067, allocations: 56.61 kB / 493.7 MB, free: 56.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 3.937e-06/0.3067, allocations: 3.719 kB / 493.7 MB, free: 56.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.02203/0.3287, allocations: 13.32 MB / 0.4951 GB, free: 47.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3288, allocations: 205.2 kB / 0.4953 GB, free: 47.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/0.3325, allocations: 4.557 MB / 0.4998 GB, free: 42.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.956e-05/0.3326, allocations: 53.7 kB / 0.4998 GB, free: 42.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.3341, allocations: 4.29 MB / 0.504 GB, free: 38.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/0.3345, allocations: 0.8251 MB / 0.5048 GB, free: 37.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.3357, allocations: 1.619 MB / 0.5064 GB, free: 36.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.3357, allocations: 488.6 kB / 0.5069 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.337, allocations: 0.8342 MB / 0.5077 GB, free: 34.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/0.34, allocations: 7.457 MB / 0.515 GB, free: 24.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/0.3452, allocations: 9.065 MB / 0.5238 GB, free: 12.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.964e-05/0.3452, allocations: 48 kB / 0.5239 GB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.008118/0.3533, allocations: 6.937 MB / 0.5306 GB, free: 5.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.3534, allocations: 76.03 kB / 0.5307 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.085e-05/0.3535, allocations: 156 kB / 0.5309 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.3551, allocations: 0.8031 MB / 0.5316 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.3577, allocations: 1.704 MB / 0.5333 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.3621, allocations: 5.823 MB / 0.539 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.3653, allocations: 475.4 kB / 0.5394 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004153/0.3657, allocations: 448 kB / 0.5399 GB, free: 11.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * 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 (904): * Single equations (assignments): 897 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001462/0.3671, allocations: 0.7545 MB / 0.5406 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.3677, allocations: 477.1 kB / 0.5411 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.3707, allocations: 2.008 MB / 0.543 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3707, allocations: 24 kB / 0.543 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.3707, allocations: 4 kB / 0.543 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3707, allocations: 7.969 kB / 0.5431 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/0.3791, allocations: 6.38 MB / 0.5493 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3791, allocations: 4 kB / 0.5493 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.38, allocations: 355.8 kB / 0.5496 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.3814, allocations: 0.5871 MB / 0.5502 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.3815, allocations: 35.98 kB / 0.5502 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.3854, allocations: 5.321 MB / 0.5554 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3854, allocations: 0 / 0.5554 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.3894, allocations: 3.152 MB / 0.5585 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/0.3904, allocations: 0.6877 MB / 0.5592 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/0.3908, allocations: 39.98 kB / 0.5592 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.3918, allocations: 179.7 kB / 0.5594 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.392, allocations: 121 kB / 0.5595 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.3921, allocations: 57.94 kB / 0.5596 GB, free: 7.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00238/0.3945, allocations: 1.998 MB / 0.5615 GB, free: 5.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 0.5615 GB, free: 5.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004597/0.3991, allocations: 1.406 MB / 0.5629 GB, free: 3.789 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000432/0.3995, allocations: 194.8 kB / 0.5631 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005173/0.4047, allocations: 3.834 MB / 0.5668 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4047, allocations: 0 / 0.5668 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4058, allocations: 1.064 MB / 0.5679 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4074, allocations: 0.5334 MB / 0.5684 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.4194, allocations: 9.644 MB / 0.5778 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.4208, allocations: 1.601 MB / 0.5794 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002867/0.4237, allocations: 1.867 MB / 0.5812 GB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.4243, allocations: 288.4 kB / 0.5815 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4243, allocations: 0 / 0.5815 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of Templates: time 0.1906/0.6149, allocations: 40.76 MB / 0.6213 GB, free: 164.6 MB / 458.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.48593813390471]