Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009147/0.0009147, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001181/0.001181, allocations: 168.1 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2791/0.2791, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.717e-05, allocations: 5.078 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009163/0.009181, allocations: 11.96 MB / 337.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.01684, allocations: 4.567 MB / 341.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.01823, allocations: 103.5 kB / 341.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.02194, allocations: 3.983 MB / 345.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.02543, allocations: 2.337 MB / 348.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.02709, allocations: 1.13 MB / 349.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006084/0.03318, allocations: 6.764 MB / 356.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.03653, allocations: 4.237 MB / 360.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.04055, allocations: 3.953 MB / 364.3 MB, free: 432 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.04293, allocations: 2.794 MB / 367.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.04335, allocations: 416 kB / 367.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.04491, allocations: 1.389 MB / 368.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.04679, allocations: 2.618 MB / 371.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.04809, allocations: 1.589 MB / 373.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.05265, allocations: 5.687 MB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05265, allocations: 0 / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.05265, allocations: 0 / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.05277, allocations: 0 / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.006436/0.05921, allocations: 5.614 MB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.05925, allocations: 12.03 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.06243, allocations: 1.304 MB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.06544, allocations: 2.603 MB / 388.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.06557, allocations: 279.5 kB / 388.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.06597, allocations: 384.1 kB / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/0.07185, allocations: 5.788 MB / 394.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.991e-05/0.07194, allocations: 51.58 kB / 394.8 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.07222, allocations: 175.8 kB / 395 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001527/0.07375, allocations: 1.893 MB / 396.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004411/0.07816, allocations: 2.855 MB / 399.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02551/0.1037, allocations: 36.61 MB / 436.3 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.1072, allocations: 1.688 MB / 438 MB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.1076, allocations: 355.8 kB / 438.4 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004769/0.1124, allocations: 3.803 MB / 442.2 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1124, allocations: 51.16 kB / 442.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.1124, allocations: 0 / 442.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.008642/0.1211, allocations: 4.069 MB / 446.3 MB, free: 11.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.1211, allocations: 192.6 kB / 446.5 MB, free: 11.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.1242, allocations: 4.052 MB / 450.5 MB, free: 7.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.1243, allocations: 45.69 kB / 450.6 MB, free: 7.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.1258, allocations: 3.669 MB / 454.2 MB, free: 3.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.1261, allocations: 0.574 MB / 454.8 MB, free: 3.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.1271, allocations: 1.346 MB / 456.1 MB, free: 1.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.1272, allocations: 301.1 kB / 456.4 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.1283, allocations: 0.7965 MB / 457.2 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1698/0.298, allocations: 5.215 MB / 462.5 MB, free: 104.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005282/0.3033, allocations: 6.641 MB / 469.1 MB, free: 98.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001894/0.3035, allocations: 45.41 kB / 469.1 MB, free: 98.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.007384/0.3109, allocations: 4.757 MB / 473.9 MB, free: 97.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.311, allocations: 75.41 kB / 474 MB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.3111, allocations: 161.8 kB / 474.1 MB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.3116, allocations: 290.3 kB / 474.4 MB, free: 97.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.3142, allocations: 1.573 MB / 476 MB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3154, allocations: 2.71 MB / 478.7 MB, free: 95.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/0.3186, allocations: 320.4 kB / 479 MB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004393/0.319, allocations: 381.4 kB / 479.4 MB, free: 95.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (872): * Single equations (assignments): 865 * 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.001505/0.3205, allocations: 0.7024 MB / 480.1 MB, free: 94.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.321, allocations: 236.9 kB / 480.3 MB, free: 94.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008808/0.3219, allocations: 0.6759 MB / 481 MB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.3219, allocations: 18.81 kB / 481 MB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3219, allocations: 3.906 kB / 481 MB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3219, allocations: 5.391 kB / 481 MB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.3278, allocations: 3.869 MB / 484.9 MB, free: 93.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.3278, allocations: 7.875 kB / 484.9 MB, free: 93.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.3283, allocations: 186 kB / 485.1 MB, free: 93.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.3289, allocations: 319.2 kB / 485.4 MB, free: 93.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.3289, allocations: 29.19 kB / 485.4 MB, free: 93.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009506/0.3299, allocations: 2.423 MB / 487.8 MB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.3299, allocations: 12 kB / 487.8 MB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.3314, allocations: 1.581 MB / 489.4 MB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.3321, allocations: 381.9 kB / 489.8 MB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.3325, allocations: 32.73 kB / 489.8 MB, free: 90.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.3332, allocations: 28.59 kB / 489.9 MB, free: 90.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3333, allocations: 93.28 kB / 490 MB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.3333, allocations: 38.31 kB / 490 MB, free: 90.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001464/0.3348, allocations: 1.508 MB / 491.5 MB, free: 89.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3348, allocations: 4 kB / 491.5 MB, free: 89.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004297/0.3391, allocations: 1.111 MB / 492.6 MB, free: 88.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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.0003183/0.3394, allocations: 161.1 kB / 492.8 MB, free: 88.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.3428, allocations: 2.754 MB / 495.5 MB, free: 86.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001727/0.343, allocations: 108.2 kB / 495.6 MB, free: 86.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3434, allocations: 0.5169 MB / 496.1 MB, free: 85.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.346, allocations: 0.7567 MB / 496.9 MB, free: 85.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3563, allocations: 8.499 MB / 0.4936 GB, free: 78.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.3575, allocations: 1.435 MB / 0.495 GB, free: 77.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001506/0.359, allocations: 0.5701 MB / 0.4955 GB, free: 77.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/0.3598, allocations: 0.6155 MB / 0.4961 GB, free: 76.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/0.3598, allocations: 0 / 0.4961 GB, free: 76.52 MB / 426.7 MB Notification: Performance of Templates: time 0.04637/0.4062, allocations: 30.83 MB / 0.5262 GB, free: 46.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.110784051939845]