Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.000809/0.000809, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0008989/0.0008989, allocations: 166.8 kB / 24.92 MB, free: 8.777 MB / 18.57 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.9137/0.9137, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.553e-05, allocations: 2.312 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002494/0.00251, allocations: 2.439 MB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.003392, allocations: 0.6579 MB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.003487, allocations: 7.938 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003605, allocations: 39.64 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.003715, allocations: 71.3 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.003941, allocations: 83.81 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.004144, allocations: 262.7 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.004266, allocations: 71.66 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.004451, allocations: 163.5 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004557, allocations: 79.77 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.004583, allocations: 24 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.004632, allocations: 24 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.004673, allocations: 51.77 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.00473, allocations: 79.83 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.004914, allocations: 171.4 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004916, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004916, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.00492, allocations: 0 / 277.6 MB, free: 12.88 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.0004241/0.005344, allocations: 444.2 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.005373, allocations: 11.98 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.005505, allocations: 56.77 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.005681, allocations: 173.4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005693, allocations: 12.88 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.005725, allocations: 20.38 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.0059, allocations: 179.4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.005912, allocations: 8.172 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.005925, allocations: 7.938 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.005933, allocations: 8 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.006009, allocations: 55.91 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.006539, allocations: 0.5293 MB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.006719, allocations: 133.2 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.006796, allocations: 61.69 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.006812, allocations: 4 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.006831, allocations: 34.55 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.006833, allocations: 3.984 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007141/0.007547, allocations: 0.5255 MB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.00759, allocations: 85.05 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.007668, allocations: 162.6 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.007683, allocations: 33.7 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.007737, allocations: 140.4 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.007781, allocations: 99.16 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.007827, allocations: 49.69 kB / 280.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.007903, allocations: 330.8 kB / 280.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.007932, allocations: 19.98 kB / 280.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.007985, allocations: 69.3 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.008082, allocations: 116.1 kB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008084, allocations: 4 kB / 280.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001362/0.00822, allocations: 149 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.008231, allocations: 4 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008236, allocations: 4 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.008245, allocations: 0 / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.008377, allocations: 67.94 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.00838, allocations: 0 / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.008426, allocations: 19.92 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.008436, allocations: 8 kB / 281.1 MB, free: 9.039 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 6.4e-05/0.0085, allocations: 125.7 kB / 281.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.008541, allocations: 19.98 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.008574, allocations: 29.8 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008577, allocations: 4 kB / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.008579, allocations: 3.938 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008583, allocations: 0 / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.008944, allocations: 364.9 kB / 281.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008946, allocations: 0 / 281.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.009079, allocations: 59.91 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009081, allocations: 4 kB / 281.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.009091, allocations: 4 kB / 281.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.009094, allocations: 7.938 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009095, allocations: 0 / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.009312, allocations: 349.3 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.00933, allocations: 31.78 kB / 282.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.009348, allocations: 8 kB / 282.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.009423, allocations: 11.98 kB / 282.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.009459, allocations: 19.91 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.009466, allocations: 8 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.862e-05/0.009504, allocations: 45.33 kB / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009504, allocations: 0 / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.009687, allocations: 48 kB / 282.3 MB, free: 7.844 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.174e-05/0.009759, allocations: 84.36 kB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.009883, allocations: 112.6 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.009887, allocations: 4 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.009947, allocations: 63.72 kB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01019, allocations: 43.86 kB / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.01088, allocations: 0.5198 MB / 283.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.01093, allocations: 87.98 kB / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.01098, allocations: 17.94 kB / 283.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.01108, allocations: 87.3 kB / 283.3 MB, free: 6.758 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01108, allocations: 0 / 283.3 MB, free: 6.758 MB / 266.7 MB Notification: Performance of Templates: time 0.003653/0.01473, allocations: 2.124 MB / 285.4 MB, free: 4.672 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5189515170641243]