Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 156.1 kB / 24.81 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.014/1.014, allocations: 173.3 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.333e-05, allocations: 6.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002293/0.002306, allocations: 2.422 MB / 270.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.003033, allocations: 0.5609 MB / 271.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.00313, allocations: 7.938 kB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.003243, allocations: 43.64 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.00335, allocations: 67.3 kB / 271.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.003547, allocations: 63.84 kB / 271.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.003755, allocations: 262.7 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.003878, allocations: 61.7 kB / 271.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004027, allocations: 155.6 kB / 272 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.004127, allocations: 83.75 kB / 272.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.004154, allocations: 20 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.004177, allocations: 24 kB / 272.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.004213, allocations: 43.83 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.00427, allocations: 79.83 kB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004438, allocations: 171.3 kB / 272.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004439, allocations: 0 / 272.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00444, allocations: 0 / 272.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004443, allocations: 0 / 272.4 MB, free: 2.133 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004617/0.004905, allocations: 0.5506 MB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.004936, allocations: 12.03 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.004985, allocations: 40.8 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005136, allocations: 184.9 kB / 273.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005148, allocations: 16.88 kB / 273.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.005179, allocations: 16.38 kB / 273.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.005378, allocations: 181.1 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005389, allocations: 4.125 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.005404, allocations: 19.94 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00541, allocations: 4 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.005502, allocations: 66.73 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.006161, allocations: 0.7039 MB / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.006343, allocations: 162 kB / 274.4 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.006434, allocations: 63.33 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.006452, allocations: 8 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.00647, allocations: 37.39 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.006472, allocations: 3.938 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006584/0.00713, allocations: 0.5296 MB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.007161, allocations: 81.11 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.007253, allocations: 213.8 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007267, allocations: 33.7 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.007333, allocations: 191.2 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.00738, allocations: 103 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.007431, allocations: 59.31 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.007536, allocations: 0.5 MB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.00757, allocations: 27.97 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.007628, allocations: 82.38 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.007738, allocations: 133.3 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007739, allocations: 0 / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001594/0.007899, allocations: 169.5 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.007912, allocations: 8 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007916, allocations: 0 / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.007925, allocations: 7.938 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.008058, allocations: 59.91 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.008062, allocations: 4 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.008111, allocations: 15.89 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.00812, allocations: 8.391 kB / 276.7 MB, free: 13.54 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.638e-05/0.008196, allocations: 172.6 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.008235, allocations: 35.84 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.008269, allocations: 25.81 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008272, allocations: 3.938 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.008275, allocations: 4 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.00828, allocations: 3.984 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.008676, allocations: 476.2 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.008678, allocations: 3.938 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.008807, allocations: 55.91 kB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.008809, allocations: 8.094 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.00882, allocations: 8 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.008822, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008823, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.009099, allocations: 493.9 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.009116, allocations: 15.84 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.009134, allocations: 11.98 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.009215, allocations: 8 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.00925, allocations: 19.97 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.009257, allocations: 4 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.998e-05/0.009307, allocations: 160.1 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009307, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.009515, allocations: 55.94 kB / 278.2 MB, free: 11.92 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 6.712e-05/0.009582, allocations: 107.2 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.009721, allocations: 119.4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009722, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.009781, allocations: 71.83 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01007, allocations: 48 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.01078, allocations: 0.5913 MB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.043e-05/0.01083, allocations: 87.97 kB / 279.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.01088, allocations: 13.95 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.01097, allocations: 110.2 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01097, allocations: 0 / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Templates: time 0.003692/0.01466, allocations: 2.162 MB / 281.5 MB, free: 8.574 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.646938760764897]