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.001087/0.001087, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002612, allocations: 449.8 kB / 10.44 MB, free: 252 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.001375/0.001375, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001877/0.003252, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.157/1.157, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1126/1.27, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.2943/0.2943, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02885/0.3232, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.884e-06/1.884e-06, allocations: 3.938 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.137e-05, allocations: 7.547 kB / 292.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01156/0.01159, allocations: 14.18 MB / 307 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009498/0.02109, allocations: 4.539 MB / 311.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.02375, allocations: 91.69 kB / 311.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.02705, allocations: 2.285 MB / 313.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.03181, allocations: 2.112 MB / 316.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.03318, allocations: 0.612 MB / 316.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.03833, allocations: 4.629 MB / 321.3 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.04167, allocations: 2.763 MB / 324.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.04604, allocations: 2.628 MB / 326.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.0493, allocations: 2.17 MB / 328.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008146/0.05012, allocations: 332 kB / 329.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.05225, allocations: 1.018 MB / 330.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.05379, allocations: 1.858 MB / 332.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.05534, allocations: 1.059 MB / 333.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.0609, allocations: 4.587 MB / 337.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.951e-05/0.06092, allocations: 4 kB / 337.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.06092, allocations: 0 / 337.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000222/0.06115, allocations: 0 / 337.7 MB, free: 9.129 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.00736/0.06851, allocations: 5.699 MB / 343.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.06855, allocations: 12.02 kB / 343.4 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004261/0.07281, allocations: 1.53 MB / 344.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.07596, allocations: 1.752 MB / 346.7 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.07613, allocations: 242.7 kB / 346.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/0.07666, allocations: 332.2 kB / 347.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008301/0.08497, allocations: 5.354 MB / 352.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.08505, allocations: 31.75 kB / 352.6 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.08535, allocations: 151.8 kB / 352.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00223/0.08758, allocations: 2.321 MB / 355.1 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007898/0.09548, allocations: 2.977 MB / 358.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.1311, allocations: 30.17 MB / 388.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.1348, allocations: 1.542 MB / 389.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.1353, allocations: 367.4 kB / 390.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/0.142, allocations: 3.873 MB / 394 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.142, allocations: 51.81 kB / 394.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 4.378e-06/0.142, allocations: 4 kB / 394.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=198): time 0.0134/0.1554, allocations: 6.102 MB / 400.2 MB, free: 8.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1555, allocations: 68.72 kB / 400.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.1584, allocations: 2.817 MB / 403.1 MB, free: 5.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.1585, allocations: 53.7 kB / 403.1 MB, free: 5.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.1603, allocations: 3.321 MB / 406.5 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/0.1609, allocations: 0.7711 MB / 407.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.162, allocations: 1.113 MB / 408.3 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1621, allocations: 305.1 kB / 408.6 MB, free: 264 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.1632, allocations: 0.7386 MB / 409.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/0.1662, allocations: 4.088 MB / 413.5 MB, free: 9.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.1715, allocations: 5.739 MB / 419.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.1716, allocations: 36 kB / 419.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.005541/0.1771, allocations: 3.913 MB / 423.1 MB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/0.1772, allocations: 63.94 kB / 423.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.1773, allocations: 132 kB / 423.3 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.1777, allocations: 219.3 kB / 423.6 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.1802, allocations: 1.435 MB / 425 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001426/0.1803, allocations: 247 kB / 425.2 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.1827, allocations: 228 kB / 425.5 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/0.183, allocations: 312 kB / 425.8 MB, free: 11.62 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.001842/0.1848, allocations: 0.5964 MB / 426.4 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.1852, allocations: 199.8 kB / 426.6 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.1865, allocations: 0.9895 MB / 427.5 MB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.1866, allocations: 27.97 kB / 427.6 MB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1866, allocations: 0 / 427.6 MB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.1866, allocations: 7.969 kB / 427.6 MB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007338/0.1939, allocations: 4.638 MB / 432.2 MB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.194, allocations: 20 kB / 432.2 MB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.1947, allocations: 291.6 kB / 432.5 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006508/0.1954, allocations: 273.9 kB / 432.8 MB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.1957, allocations: 220.6 kB / 433 MB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.1958, allocations: 40 kB / 433 MB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.1958, allocations: 23.92 kB / 433.1 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.1958, allocations: 15.94 kB / 433.1 MB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.1976, allocations: 1.627 MB / 434.7 MB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.198, allocations: 39.98 kB / 434.7 MB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.1985, allocations: 36 kB / 434.8 MB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.1987, allocations: 124.6 kB / 434.9 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.1987, allocations: 51.98 kB / 435 MB, free: 2.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009569/0.1997, allocations: 0.989 MB / 435.9 MB, free: 1.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1997, allocations: 0 / 435.9 MB, free: 1.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003346/0.203, allocations: 0.996 MB / 436.9 MB, free: 16 kB / 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.2047/0.4077, allocations: 179.3 kB / 437.1 MB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004929/0.4127, allocations: 2.47 MB / 439.6 MB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003401/0.413, allocations: 105.8 kB / 439.7 MB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.4155, allocations: 1.207 MB / 440.9 MB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.4187, allocations: 2.144 MB / 443 MB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.4355, allocations: 8.796 MB / 451.8 MB, free: 97.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.4375, allocations: 1.406 MB / 453.2 MB, free: 97.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001548/0.439, allocations: 477.2 kB / 453.7 MB, free: 97.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/0.4397, allocations: 495.9 kB / 454.2 MB, free: 97.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.246e-06/0.4397, allocations: 0 / 454.2 MB, free: 97.07 MB / 426.7 MB Notification: Performance of Templates: time 0.05031/0.4901, allocations: 25.24 MB / 479.4 MB, free: 80.9 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9544401494786143]