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.0009776/0.0009776, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009895/0.0009895, allocations: 169.9 kB / 24.91 MB, free: 9.18 MB / 18.57 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 0.9944/0.9944, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.772e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004163/0.00419, allocations: 2.435 MB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.00542, allocations: 0.6618 MB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005545, allocations: 7.938 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.005697, allocations: 43.58 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.005848, allocations: 75.28 kB / 276.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.006159, allocations: 75.83 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.00648, allocations: 262.7 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.006644, allocations: 71.66 kB / 277.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.006913, allocations: 163.6 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.007062, allocations: 79.77 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.007098, allocations: 20 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.007173, allocations: 20 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.007217, allocations: 51.83 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.007299, allocations: 83.77 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.007553, allocations: 179.3 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007556, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007557, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007562, allocations: 4 kB / 277.6 MB, free: 13.1 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005809/0.008143, allocations: 432.2 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.008184, allocations: 16.03 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.008372, allocations: 44.89 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.008593, allocations: 173.4 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.00861, allocations: 12.88 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.00865, allocations: 24.38 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.008894, allocations: 179.3 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.008911, allocations: 8.172 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.008929, allocations: 11.94 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.008938, allocations: 8 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.009049, allocations: 63.89 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.009698, allocations: 0.5293 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.009877, allocations: 125.2 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.009953, allocations: 57.67 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.00997, allocations: 16 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.00999, allocations: 34.5 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.009992, allocations: 0 / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007258/0.01072, allocations: 0.5268 MB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.01075, allocations: 81.05 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.01084, allocations: 166.6 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.01085, allocations: 25.7 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.0109, allocations: 136.4 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.01095, allocations: 103.2 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01099, allocations: 45.69 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01111, allocations: 338.8 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.01114, allocations: 23.92 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.01119, allocations: 65.33 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01129, allocations: 123.1 kB / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01129, allocations: 0 / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001395/0.01143, allocations: 141.5 kB / 281.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.01144, allocations: 5.719 kB / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.01144, allocations: 0 / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01146, allocations: 4 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01159, allocations: 63.84 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01159, allocations: 96 / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.01163, allocations: 12 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.01164, allocations: 8 kB / 281.2 MB, free: 9.273 MB / 266.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 7.076e-05/0.01171, allocations: 129.7 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.01175, allocations: 19.98 kB / 281.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.01185, allocations: 25.81 kB / 281.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01185, allocations: 4 kB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01185, allocations: 7.922 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01186, allocations: 0 / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.01223, allocations: 364.9 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01224, allocations: 0 / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.01237, allocations: 59.84 kB / 281.8 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01237, allocations: 4 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01238, allocations: 7.984 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01238, allocations: 4 kB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01238, allocations: 0 / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.01262, allocations: 353.8 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.01264, allocations: 23.8 kB / 282.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.01266, allocations: 16.09 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.01273, allocations: 4 kB / 282.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.01276, allocations: 19.95 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01277, allocations: 8 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.0128, allocations: 45.33 kB / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0128, allocations: 0 / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.01298, allocations: 48 kB / 282.3 MB, free: 8.078 MB / 266.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 8.922e-05/0.01307, allocations: 84.36 kB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.0132, allocations: 118.6 kB / 282.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.0132, allocations: 4 kB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.01326, allocations: 69.23 kB / 282.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01351, allocations: 46.84 kB / 282.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.01436, allocations: 0.5159 MB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01441, allocations: 83.98 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.01446, allocations: 21.94 kB / 283.2 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.01455, allocations: 87.3 kB / 283.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01455, allocations: 0 / 283.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of Templates: time 0.003946/0.0185, allocations: 2.134 MB / 285.5 MB, free: 4.898 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8036556653678417]