Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002723, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007746/0.0007746, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001874, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9928/0.9928, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08843/1.081, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1397/0.1397, allocations: 32.81 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1519/0.2916, allocations: 12.54 MB / 284.5 MB, free: 11.88 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 285.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.952e-05, allocations: 5.188 kB / 285.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01086/0.01088, allocations: 14.22 MB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008292/0.01917, allocations: 4.515 MB / 304.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.021, allocations: 91.62 kB / 304.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.02335, allocations: 2.304 MB / 307 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.02673, allocations: 2.135 MB / 309.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.02777, allocations: 0.6197 MB / 309.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.03197, allocations: 4.554 MB / 314.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.03476, allocations: 2.763 MB / 317 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.03775, allocations: 2.636 MB / 319.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.04021, allocations: 2.19 MB / 321.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006754/0.04088, allocations: 332 kB / 322.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.04238, allocations: 1.034 MB / 323.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.04365, allocations: 1.886 MB / 325.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.04478, allocations: 1.082 MB / 326.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.04893, allocations: 4.645 MB / 330.8 MB, free: 28 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.04894, allocations: 4 kB / 330.8 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04894, allocations: 0 / 330.8 MB, free: 24 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.04909, allocations: 0 / 330.8 MB, free: 24 kB / 314.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.005795/0.05489, allocations: 5.737 MB / 336.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.05493, allocations: 23.78 kB / 336.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.05884, allocations: 1.526 MB / 338.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.06177, allocations: 1.771 MB / 339.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.0619, allocations: 254.6 kB / 340.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/0.06237, allocations: 328.1 kB / 340.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007749/0.07012, allocations: 5.346 MB / 345.8 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.07023, allocations: 39.7 kB / 345.9 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003237/0.07055, allocations: 155.8 kB / 346 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.07272, allocations: 2.321 MB / 348.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.07892, allocations: 2.975 MB / 351.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/0.1081, allocations: 30.17 MB / 381.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.1112, allocations: 1.536 MB / 383 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.1117, allocations: 370.7 kB / 383.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006514/0.1182, allocations: 3.873 MB / 387.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1183, allocations: 51.86 kB / 387.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 4.278e-06/0.1183, allocations: 0 / 387.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=198): time 0.01249/0.1308, allocations: 6.094 MB / 393.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1308, allocations: 72.47 kB / 393.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.1334, allocations: 2.826 MB / 396.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.1335, allocations: 45.7 kB / 396.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.1352, allocations: 3.325 MB / 399.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/0.1357, allocations: 0.7789 MB / 400.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008564/0.1365, allocations: 1.109 MB / 401.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.1366, allocations: 305.1 kB / 401.8 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.1377, allocations: 0.7385 MB / 402.6 MB, free: 6.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.1404, allocations: 4.08 MB / 406.7 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0045/0.1449, allocations: 5.743 MB / 412.4 MB, free: 9.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.477e-05/0.145, allocations: 32 kB / 412.4 MB, free: 8.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004288/0.1493, allocations: 3.921 MB / 416.4 MB, free: 5.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.1493, allocations: 56 kB / 416.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.1494, allocations: 136 kB / 416.5 MB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.1498, allocations: 215.3 kB / 416.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.1522, allocations: 1.439 MB / 418.2 MB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/0.1523, allocations: 243.4 kB / 418.4 MB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.1547, allocations: 228 kB / 418.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/0.1551, allocations: 312 kB / 419 MB, free: 2.449 MB / 410.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.001785/0.1569, allocations: 0.5964 MB / 419.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.1572, allocations: 207.7 kB / 419.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1585, allocations: 0.9857 MB / 420.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.1585, allocations: 16 kB / 420.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1585, allocations: 0 / 420.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.1585, allocations: 7.969 kB / 420.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.1649, allocations: 4.658 MB / 425.4 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.1649, allocations: 23.98 kB / 425.4 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/0.1656, allocations: 287.6 kB / 425.7 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.1661, allocations: 270.1 kB / 426 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.1665, allocations: 232.5 kB / 426.2 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.1665, allocations: 44 kB / 426.3 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.1665, allocations: 19.92 kB / 426.3 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.1665, allocations: 19.92 kB / 426.3 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1682, allocations: 1.619 MB / 427.9 MB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.1684, allocations: 47.92 kB / 428 MB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.1689, allocations: 28 kB / 428 MB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.1691, allocations: 132.5 kB / 428.1 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.1691, allocations: 59.97 kB / 428.2 MB, free: 8.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007766/0.1699, allocations: 0.9816 MB / 429.2 MB, free: 7.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1699, allocations: 0 / 429.2 MB, free: 7.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002803/0.1727, allocations: 1.031 MB / 430.2 MB, free: 6.781 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.0003404/0.1731, allocations: 191.8 kB / 430.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.1759, allocations: 2.455 MB / 432.8 MB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001604/0.1761, allocations: 110.8 kB / 432.9 MB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.1777, allocations: 1.213 MB / 434.2 MB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.1796, allocations: 2.159 MB / 436.3 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.146/0.3256, allocations: 8.778 MB / 445.1 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.3266, allocations: 1.411 MB / 446.5 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.3278, allocations: 473.1 kB / 447 MB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.3284, allocations: 490.5 kB / 447.4 MB, free: 111.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3284, allocations: 3.062 kB / 447.5 MB, free: 111.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03837/0.3668, allocations: 25.41 MB / 472.9 MB, free: 96.41 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.568601079285145]