Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001049/0.001049, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002596, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001061/0.001061, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.00242, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9648/0.9648, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09256/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2812/0.2812, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0275/0.3087, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.629e-05, allocations: 3.078 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01091/0.01093, allocations: 14.17 MB / 306.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00843/0.01936, allocations: 4.547 MB / 311.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.02175, allocations: 87.69 kB / 311.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.02506, allocations: 2.292 MB / 313.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004301/0.02936, allocations: 2.1 MB / 315.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.03057, allocations: 0.6159 MB / 316.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.03544, allocations: 4.627 MB / 321.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/0.03865, allocations: 2.775 MB / 323.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.04228, allocations: 2.613 MB / 326.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.04506, allocations: 2.178 MB / 328.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008464/0.04591, allocations: 332 kB / 329 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.04782, allocations: 1.014 MB / 330 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.04976, allocations: 1.866 MB / 331.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.052, allocations: 1.059 MB / 332.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.05757, allocations: 4.583 MB / 337.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.941e-05/0.05759, allocations: 0 / 337.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.0576, allocations: 0 / 337.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002607/0.05786, allocations: 7.875 kB / 337.5 MB, free: 9.23 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.007517/0.06537, allocations: 5.703 MB / 343.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.0654, allocations: 12.02 kB / 343.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.06902, allocations: 1.522 MB / 344.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.07229, allocations: 1.755 MB / 346.5 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.07251, allocations: 250.7 kB / 346.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.07327, allocations: 324.2 kB / 347 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007179/0.08045, allocations: 5.346 MB / 352.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.08053, allocations: 35.7 kB / 352.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.08079, allocations: 159.8 kB / 352.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/0.08283, allocations: 2.469 MB / 355.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/0.08754, allocations: 2.988 MB / 358 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.1182, allocations: 30.16 MB / 388.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.1217, allocations: 1.533 MB / 389.7 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.1222, allocations: 375.3 kB / 390.1 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005909/0.1281, allocations: 3.873 MB / 394 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1281, allocations: 51.86 kB / 394 MB, free: 14.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 4.068e-06/0.1281, allocations: 0 / 394 MB, free: 14.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=198): time 0.01134/0.1395, allocations: 5.653 MB / 399.7 MB, free: 9.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1395, allocations: 72.72 kB / 399.8 MB, free: 9.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.1421, allocations: 2.814 MB / 402.6 MB, free: 6.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.1422, allocations: 49.7 kB / 402.6 MB, free: 6.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.1439, allocations: 3.325 MB / 405.9 MB, free: 2.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.1444, allocations: 0.7673 MB / 406.7 MB, free: 2.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000854/0.1452, allocations: 1.117 MB / 407.8 MB, free: 0.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.1453, allocations: 301.1 kB / 408.1 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.1464, allocations: 0.7385 MB / 408.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.1491, allocations: 4.084 MB / 412.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.1532, allocations: 5.329 MB / 418.3 MB, free: 3.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.757e-05/0.1533, allocations: 36 kB / 418.3 MB, free: 3.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004818/0.1581, allocations: 3.917 MB / 422.2 MB, free: 15.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.1581, allocations: 56 kB / 422.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.1582, allocations: 128 kB / 422.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.1586, allocations: 215.3 kB / 422.6 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/0.161, allocations: 1.443 MB / 424.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001322/0.1612, allocations: 251 kB / 424.3 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.1633, allocations: 231.9 kB / 424.5 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.1635, allocations: 312 kB / 424.8 MB, free: 12.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (736): * Single equations (assignments): 728 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.1649, allocations: 0.5887 MB / 425.4 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.1653, allocations: 199.7 kB / 425.6 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1665, allocations: 0.9856 MB / 426.6 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.1665, allocations: 24 kB / 426.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1665, allocations: 0 / 426.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.1665, allocations: 7.969 kB / 426.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006297/0.1728, allocations: 4.65 MB / 431.3 MB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.1728, allocations: 8 kB / 431.3 MB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.1735, allocations: 291.6 kB / 431.6 MB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.174, allocations: 273.9 kB / 431.8 MB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.1743, allocations: 224.5 kB / 432.1 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.1744, allocations: 35.98 kB / 432.1 MB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/0.1744, allocations: 19.94 kB / 432.1 MB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.1744, allocations: 15.94 kB / 432.1 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.1761, allocations: 1.631 MB / 433.8 MB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.1764, allocations: 43.98 kB / 433.8 MB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.1769, allocations: 28 kB / 433.8 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.1771, allocations: 124.6 kB / 434 MB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.1772, allocations: 55.98 kB / 434 MB, free: 2.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008592/0.178, allocations: 0.9928 MB / 435 MB, free: 1.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.178, allocations: 0 / 435 MB, free: 1.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003374/0.1814, allocations: 0.9921 MB / 436 MB, free: 0.8516 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.1818, allocations: 179.9 kB / 436.2 MB, free: 0.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1437/0.3254, allocations: 2.351 MB / 438.5 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002959/0.3257, allocations: 107 kB / 438.6 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.3264, allocations: 0.5022 MB / 439.1 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.329, allocations: 0.898 MB / 440 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.3423, allocations: 8.795 MB / 448.8 MB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.344, allocations: 1.409 MB / 450.2 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001445/0.3455, allocations: 483.5 kB / 450.7 MB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009123/0.3464, allocations: 0.5138 MB / 451.2 MB, free: 105.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.595e-06/0.3464, allocations: 0 / 451.2 MB, free: 105.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04221/0.3886, allocations: 26.71 MB / 477.9 MB, free: 86.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.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: 3.8302102759480476]