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.001491/0.001491, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001864/0.001864, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9661/0.9661, allocations: 177.1 MB / 205 MB, free: 5.617 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.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.848e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002661/0.002689, allocations: 2.445 MB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.003552, allocations: 0.6504 MB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003652, allocations: 7.938 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.003779, allocations: 39.58 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.003879, allocations: 71.3 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.004135, allocations: 71.89 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.004351, allocations: 266.6 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.004498, allocations: 73.69 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.004695, allocations: 155.7 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.00481, allocations: 79.78 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.004839, allocations: 20 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.004893, allocations: 27.92 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.004923, allocations: 55.75 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.004985, allocations: 79.83 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.00519, allocations: 179.3 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005192, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005193, allocations: 3.938 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005198, allocations: 4 kB / 277.2 MB, free: 13.32 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.0005489/0.005747, allocations: 0.539 MB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005783, allocations: 12.03 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.005935, allocations: 60.73 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.006125, allocations: 192.2 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.00614, allocations: 16.88 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.006178, allocations: 28.36 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.006421, allocations: 193 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006431, allocations: 192 / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.006448, allocations: 11.94 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.006457, allocations: 4 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.006583, allocations: 75.92 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.007271, allocations: 0.7424 MB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.007513, allocations: 162 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.007627, allocations: 71.33 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.00765, allocations: 7.938 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.007671, allocations: 41.38 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.007673, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008724/0.008545, allocations: 0.6147 MB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.008578, allocations: 85.11 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.008689, allocations: 217.9 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.008704, allocations: 33.7 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.008775, allocations: 187.1 kB / 280.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.008825, allocations: 99.17 kB / 280.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.008877, allocations: 51.36 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008985, allocations: 0.504 MB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.009041, allocations: 31.92 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.00912, allocations: 87.45 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.009265, allocations: 149.3 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009266, allocations: 0 / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002093/0.009475, allocations: 193.3 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.009489, allocations: 7.984 kB / 281.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009496, allocations: 7.938 kB / 281.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009509, allocations: 3.938 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.009656, allocations: 63.91 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.009664, allocations: 8.094 kB / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.00971, allocations: 8 kB / 281.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.00972, allocations: 4 kB / 281.6 MB, free: 8.5 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.877e-05/0.009799, allocations: 168.5 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.009843, allocations: 31.86 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.009879, allocations: 33.73 kB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009882, allocations: 4 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009885, allocations: 0 / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009889, allocations: 0 / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.01036, allocations: 0.5223 MB / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01036, allocations: 0 / 282.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.0105, allocations: 59.91 kB / 282.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.0105, allocations: 4 kB / 282.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01052, allocations: 8 kB / 282.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01052, allocations: 3.984 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01052, allocations: 0 / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01085, allocations: 0.4946 MB / 283 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.01087, allocations: 23.95 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01089, allocations: 8 kB / 283 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.01096, allocations: 4 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.01101, allocations: 15.97 kB / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01102, allocations: 15.98 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.01108, allocations: 163.7 kB / 283.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 283.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.01129, allocations: 55.94 kB / 283.2 MB, free: 6.797 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 7.967e-05/0.01137, allocations: 103.2 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.01155, allocations: 133.4 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01156, allocations: 0 / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.01163, allocations: 79.52 kB / 283.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01194, allocations: 47.8 kB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.0128, allocations: 0.595 MB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.01286, allocations: 87.86 kB / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.01291, allocations: 21.94 kB / 284.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.01296, allocations: 24.5 kB / 284.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01296, allocations: 0 / 284.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of Templates: time 0.00436/0.01732, allocations: 1.992 MB / 286.3 MB, free: 3.668 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.867873104289174]