Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001344/0.001344, allocations: 108.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001501/0.001501, allocations: 213.9 kB / 24.5 MB, free: 4.145 MB / 14.72 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.91 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2642, allocations: 53.37 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003978/0.2682, allocations: 2.461 MB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2696, allocations: 0.6622 MB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2697, allocations: 7.938 kB / 435.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.2699, allocations: 39.58 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.27, allocations: 75.34 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2703, allocations: 71.91 kB / 435.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2707, allocations: 262.8 kB / 436 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.2709, allocations: 73.64 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.2711, allocations: 107.6 kB / 436.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2713, allocations: 107.5 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.2713, allocations: 20 kB / 436.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.2714, allocations: 28 kB / 436.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.2714, allocations: 47.83 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2716, allocations: 119.4 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.2719, allocations: 260.2 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2719, allocations: 3.938 kB / 436.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2719, allocations: 0 / 436.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.2719, allocations: 4 kB / 436.7 MB, free: 2.559 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008385/0.2728, allocations: 473.5 kB / 437.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2728, allocations: 8.031 kB / 437.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.2731, allocations: 44.73 kB / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2734, allocations: 187 kB / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2734, allocations: 16.81 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.2735, allocations: 20.33 kB / 437.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.2739, allocations: 217.3 kB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.274, allocations: 11.92 kB / 437.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.274, allocations: 8 kB / 437.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.274, allocations: 4 kB / 437.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.2743, allocations: 147.9 kB / 437.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2756, allocations: 0.7473 MB / 438.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.276, allocations: 185 kB / 438.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2762, allocations: 97.67 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.2762, allocations: 7.984 kB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2763, allocations: 38.69 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.2763, allocations: 3.938 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00165/0.2779, allocations: 0.7274 MB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.278, allocations: 81.09 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2782, allocations: 183.8 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2782, allocations: 29.7 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2783, allocations: 148.5 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.2784, allocations: 99.12 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.2785, allocations: 45.7 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2787, allocations: 330.8 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2788, allocations: 63.97 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.279, allocations: 108.2 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.2793, allocations: 190.7 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2793, allocations: 0 / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004484/0.2798, allocations: 256.2 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2798, allocations: 4 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2798, allocations: 0 / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2798, allocations: 4 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.2801, allocations: 63.84 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2801, allocations: 3.984 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2802, allocations: 16 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2802, allocations: 12 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.2804, allocations: 142.3 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.2804, allocations: 23.86 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.2805, allocations: 29.8 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2805, allocations: 4 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2805, allocations: 0 / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2805, allocations: 0 / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.2814, allocations: 0.5637 MB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2814, allocations: 4 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2817, allocations: 51.97 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2817, allocations: 3.938 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2817, allocations: 8 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.2817, allocations: 4 kB / 442.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2817, allocations: 7.875 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.2824, allocations: 493.1 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2825, allocations: 15.94 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.2825, allocations: 12 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2827, allocations: 8 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.2827, allocations: 27.84 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2827, allocations: 7.984 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.2829, allocations: 132.5 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2829, allocations: 0 / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.2832, allocations: 52 kB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.2833, allocations: 111.2 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.2837, allocations: 167.8 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2837, allocations: 0 / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2839, allocations: 91.78 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.2844, allocations: 38.19 kB / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2857, allocations: 0.7212 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.2861, allocations: 0.748 MB / 444.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.2862, allocations: 23.44 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2862, allocations: 0 / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005065/0.2913, allocations: 2.675 MB / 447.4 MB, free: 7.438 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.83355886884965]