Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007891, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001886, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000729/0.000729, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009535/0.001682, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9597/0.9597, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07993/1.04, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.716e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002296/0.002313, allocations: 2.45 MB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.002662, allocations: 270.8 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.002748, allocations: 8 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.692e-05/0.002825, allocations: 43.56 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.002929, allocations: 87.16 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.86e-05/0.003018, allocations: 59.91 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.003216, allocations: 298.5 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.003342, allocations: 72 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.003498, allocations: 195.5 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.003614, allocations: 87.75 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.003675, allocations: 24 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.00371, allocations: 20 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.003748, allocations: 43.81 kB / 248.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.00381, allocations: 75.88 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.003998, allocations: 175.3 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.00401, allocations: 0 / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004011, allocations: 0 / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.004021, allocations: 0 / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000523/0.004544, allocations: 0.5037 MB / 249.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.004579, allocations: 8.625 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.004634, allocations: 40.91 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.004815, allocations: 174 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.004829, allocations: 16.88 kB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.004864, allocations: 32.36 kB / 249.9 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.005037, allocations: 187 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.005051, allocations: 8.078 kB / 250 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.005064, allocations: 12.38 kB / 250.1 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005072, allocations: 4.375 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.005159, allocations: 75.88 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.005649, allocations: 0.5391 MB / 250.7 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.005872, allocations: 199.6 kB / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.005961, allocations: 90.66 kB / 251 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.005975, allocations: 8 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.005995, allocations: 38.56 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.005997, allocations: 0 / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001306/0.007303, allocations: 1.302 MB / 252.3 MB, free: 6.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.007349, allocations: 110.8 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.007435, allocations: 163.4 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.00745, allocations: 33.7 kB / 252.6 MB, free: 5.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.00751, allocations: 132.8 kB / 252.7 MB, free: 5.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.007593, allocations: 166.5 kB / 252.9 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.007657, allocations: 82.14 kB / 253 MB, free: 5.445 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.007734, allocations: 342.7 kB / 253.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.007772, allocations: 32.98 kB / 253.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.007841, allocations: 106.9 kB / 253.4 MB, free: 4.941 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.00798, allocations: 196.8 kB / 253.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007982, allocations: 0 / 253.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001775/0.008159, allocations: 197.5 kB / 253.8 MB, free: 4.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.008173, allocations: 15.94 kB / 253.8 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008178, allocations: 0 / 253.8 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008191, allocations: 4 kB / 253.9 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.008413, allocations: 111.9 kB / 254 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008419, allocations: 3.938 kB / 254 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.00848, allocations: 8 kB / 254 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.008491, allocations: 12 kB / 254 MB, free: 4.379 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.208e-05/0.008563, allocations: 141.7 kB / 254.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.008611, allocations: 23.98 kB / 254.1 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.008654, allocations: 41.8 kB / 254.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.008658, allocations: 8 kB / 254.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008661, allocations: 0 / 254.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.008666, allocations: 7.922 kB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.009276, allocations: 0.7201 MB / 254.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.00928, allocations: 4 kB / 254.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.00951, allocations: 115.2 kB / 255 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.009537, allocations: 27.8 kB / 255.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.009542, allocations: 8 kB / 255.1 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.009557, allocations: 12 kB / 255.1 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.009562, allocations: 7.938 kB / 255.1 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.009565, allocations: 7.938 kB / 255.1 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.009884, allocations: 0.5541 MB / 255.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.009905, allocations: 8 kB / 255.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01001, allocations: 12 kB / 255.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.01004, allocations: 39.94 kB / 255.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01005, allocations: 16 kB / 255.7 MB, free: 2.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.01008, allocations: 41.06 kB / 255.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 255.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.01031, allocations: 72 kB / 255.8 MB, free: 2.418 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0001025/0.01042, allocations: 100.2 kB / 255.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.0106, allocations: 192.7 kB / 256.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.01062, allocations: 7.984 kB / 256.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01072, allocations: 129.9 kB / 256.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.01123, allocations: 0.6457 MB / 256.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01234, allocations: 0.627 MB / 257.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.01241, allocations: 105.2 kB / 257.6 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.284e-05/0.0125, allocations: 35.08 kB / 257.7 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01263, allocations: 111.3 kB / 257.8 MB, free: 268 kB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01263, allocations: 4 kB / 257.8 MB, free: 264 kB / 250.7 MB Notification: Performance of Templates: time 0.004788/0.01742, allocations: 3.389 MB / 261.2 MB, free: 12.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.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: 2.631477916613221]