Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.0008306/0.0008306, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002057, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007171/0.0007171, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000916/0.001633, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9288/0.9288, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1584/1.087, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.788e-05, allocations: 6.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.008588/0.008606, allocations: 9.895 MB / 231.9 MB, free: 6.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.01454, allocations: 3.936 MB / 235.8 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.01521, allocations: 67.69 kB / 235.9 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.01746, allocations: 2.129 MB / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.01994, allocations: 1.711 MB / 239.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.02088, allocations: 0.6976 MB / 240.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002494/0.02337, allocations: 3.61 MB / 244 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.02539, allocations: 2.345 MB / 246.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.02711, allocations: 2.079 MB / 248.5 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.02868, allocations: 1.757 MB / 250.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.02902, allocations: 260 kB / 250.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.03079, allocations: 1.08 MB / 251.6 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.03172, allocations: 1.516 MB / 253.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.03247, allocations: 0.8724 MB / 253.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.03531, allocations: 3.716 MB / 257.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.03533, allocations: 0 / 257.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.03533, allocations: 4 kB / 257.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-05/0.03538, allocations: 0 / 257.7 MB, free: 12.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.004982/0.04036, allocations: 4.675 MB / 262.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.0404, allocations: 8.031 kB / 262.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.04288, allocations: 1.023 MB / 263.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.04453, allocations: 1.445 MB / 264.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.04466, allocations: 209.1 kB / 265 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.04499, allocations: 267.9 kB / 265.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.05064, allocations: 4.674 MB / 270 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.05071, allocations: 39.66 kB / 270 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.05093, allocations: 131.9 kB / 270.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001269/0.0522, allocations: 1.493 MB / 271.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.05632, allocations: 2.397 MB / 274 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.2158, allocations: 28.88 MB / 302.9 MB, free: 23.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.2201, allocations: 1.732 MB / 304.6 MB, free: 23.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.2208, allocations: 384.5 kB / 305 MB, free: 23.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005463/0.2262, allocations: 3.387 MB / 308.4 MB, free: 22.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.2263, allocations: 49.22 kB / 308.4 MB, free: 22.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=135): time 4.158e-06/0.2263, allocations: 0 / 308.4 MB, free: 22.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=145): time 0.01205/0.2383, allocations: 4.809 MB / 313.2 MB, free: 22.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2384, allocations: 153.8 kB / 313.4 MB, free: 21.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.2411, allocations: 2.794 MB / 316.2 MB, free: 21.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.2412, allocations: 49.08 kB / 316.2 MB, free: 21.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009806/0.2422, allocations: 2.807 MB / 319 MB, free: 19.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.2426, allocations: 0.5917 MB / 319.6 MB, free: 19.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/0.2434, allocations: 1.06 MB / 320.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.2435, allocations: 308.8 kB / 321 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2445, allocations: 0.6636 MB / 321.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.2464, allocations: 4.123 MB / 325.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.2505, allocations: 5.744 MB / 331.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.455e-05/0.2506, allocations: 36 kB / 331.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.004067/0.2546, allocations: 3.853 MB / 335.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.2547, allocations: 60 kB / 335.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.78e-05/0.2548, allocations: 136 kB / 335.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.2553, allocations: 301.5 kB / 335.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.2574, allocations: 1.412 MB / 337.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2588, allocations: 1.922 MB / 339.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.2612, allocations: 258.4 kB / 339.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.2615, allocations: 304 kB / 339.8 MB, free: 15.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (706): * Single equations (assignments): 702 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001331/0.2628, allocations: 0.591 MB / 340.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.2632, allocations: 187.8 kB / 340.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2642, allocations: 0.7482 MB / 341.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2642, allocations: 16 kB / 341.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2642, allocations: 0 / 341.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2642, allocations: 7.984 kB / 341.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/0.2692, allocations: 3.357 MB / 344.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.2692, allocations: 15.98 kB / 344.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.2697, allocations: 231.7 kB / 344.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.2702, allocations: 353.6 kB / 345.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006098/0.2708, allocations: 292.8 kB / 345.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.2709, allocations: 24 kB / 345.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.2723, allocations: 1.702 MB / 347.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.2723, allocations: 11.94 kB / 347.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2739, allocations: 1.676 MB / 349 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.2742, allocations: 39.98 kB / 349 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.2747, allocations: 31.94 kB / 349 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2748, allocations: 96.38 kB / 349.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.2749, allocations: 43.97 kB / 349.2 MB, free: 5.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.2759, allocations: 0.997 MB / 350.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2759, allocations: 0 / 350.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003958/0.2799, allocations: 0.8749 MB / 351.1 MB, free: 3.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (121): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/0.2803, allocations: 187.8 kB / 351.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.2837, allocations: 2.412 MB / 353.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001991/0.2839, allocations: 96.16 kB / 353.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.2846, allocations: 0.5712 MB / 354.3 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.2875, allocations: 2.348 MB / 356.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.2995, allocations: 6.522 MB / 363.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.3006, allocations: 1.03 MB / 364.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3018, allocations: 440.2 kB / 364.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/0.3024, allocations: 473.2 kB / 365.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3024, allocations: 0 / 365.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of Templates: time 0.04647/0.3489, allocations: 22.78 MB / 387.9 MB, free: 14.09 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.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.3673911159858108]