Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000969/0.000969, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.0009825/0.0009825, allocations: 165.6 kB / 25.69 MB, free: 8.465 MB / 18.57 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.8323/0.8323, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.65e-05, allocations: 2.312 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003026/0.003042, allocations: 2.404 MB / 253.9 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.003972, allocations: 0.6318 MB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.004065, allocations: 7.938 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.00418, allocations: 39.58 kB / 254.6 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004282, allocations: 63.36 kB / 254.6 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.004474, allocations: 67.78 kB / 254.7 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004677, allocations: 266.7 kB / 255 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004799, allocations: 67.67 kB / 255 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004948, allocations: 147.7 kB / 255.2 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005051, allocations: 83.77 kB / 255.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.00508, allocations: 20 kB / 255.3 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.005105, allocations: 20 kB / 255.3 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.005139, allocations: 51.77 kB / 255.4 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.005195, allocations: 79.81 kB / 255.4 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005365, allocations: 163.4 kB / 255.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005367, allocations: 0 / 255.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005367, allocations: 0 / 255.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.005371, allocations: 8 kB / 255.6 MB, free: 3.172 MB / 234.7 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.0004075/0.005778, allocations: 436.2 kB / 256 MB, free: 2.723 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.005805, allocations: 11.98 kB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.005848, allocations: 32.91 kB / 256.1 MB, free: 2.68 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.005997, allocations: 162 kB / 256.2 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006011, allocations: 16.88 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.006043, allocations: 36.36 kB / 256.3 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.006222, allocations: 175.4 kB / 256.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006233, allocations: 4.188 kB / 256.5 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006248, allocations: 11.94 kB / 256.5 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006254, allocations: 4 kB / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.006332, allocations: 55.89 kB / 256.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.006873, allocations: 0.545 MB / 257.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.007036, allocations: 121.2 kB / 257.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.007109, allocations: 61.55 kB / 257.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.007124, allocations: 8 kB / 257.3 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.007142, allocations: 34.56 kB / 257.3 MB, free: 1.355 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.007143, allocations: 0 / 257.3 MB, free: 1.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006832/0.007826, allocations: 0.5186 MB / 257.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.007857, allocations: 85.05 kB / 257.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.007934, allocations: 162.6 kB / 258.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007948, allocations: 29.7 kB / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.007995, allocations: 132.4 kB / 258.2 MB, free: 344 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.008039, allocations: 95.09 kB / 258.3 MB, free: 248 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.008086, allocations: 57.67 kB / 258.4 MB, free: 184 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.008166, allocations: 330.8 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.008194, allocations: 19.98 kB / 258.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.008245, allocations: 68.23 kB / 258.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.008345, allocations: 108.1 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008346, allocations: 0 / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001626/0.008508, allocations: 137.8 kB / 259 MB, free: 15.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.008518, allocations: 4.094 kB / 259 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008522, allocations: 8 kB / 259 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.008531, allocations: 0 / 259 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.008662, allocations: 67.84 kB / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.008665, allocations: 80 / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.008711, allocations: 19.94 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008721, allocations: 7.984 kB / 259.1 MB, free: 15.38 MB / 250.7 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 6.473e-05/0.008785, allocations: 121.8 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.008819, allocations: 23.92 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.008851, allocations: 29.8 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008853, allocations: 8 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008856, allocations: 3.938 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008859, allocations: 0 / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.009219, allocations: 368.7 kB / 259.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009221, allocations: 0 / 259.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.009355, allocations: 55.91 kB / 259.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009358, allocations: 4 kB / 259.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.009368, allocations: 4 kB / 259.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.009371, allocations: 12.03 kB / 259.7 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009373, allocations: 4 kB / 259.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.009589, allocations: 354 kB / 260.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.009606, allocations: 27.77 kB / 260.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.009624, allocations: 8 kB / 260.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.009697, allocations: 7.922 kB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.009729, allocations: 19.97 kB / 260.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.009736, allocations: 8 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.659e-05/0.009763, allocations: 40.81 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009763, allocations: 0 / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.009947, allocations: 56 kB / 260.2 MB, free: 14.18 MB / 250.7 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 6.563e-05/0.01001, allocations: 80.36 kB / 260.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01014, allocations: 108.6 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.01014, allocations: 4 kB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.0102, allocations: 60.77 kB / 260.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.01044, allocations: 40.23 kB / 260.5 MB, free: 13.87 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.01111, allocations: 0.5264 MB / 261.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.822e-05/0.01116, allocations: 79.98 kB / 261.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.01122, allocations: 21.94 kB / 261.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.01131, allocations: 87.36 kB / 261.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01131, allocations: 4 kB / 261.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of Templates: time 0.003466/0.01478, allocations: 2.11 MB / 263.4 MB, free: 11.02 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.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: 2.546545377932489]