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.001988/0.001988, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.00244/0.00244, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.51e-05, allocations: 6.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003859/0.003884, allocations: 2.293 MB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.004946, allocations: 0.5686 MB / 270.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.005045, allocations: 7.938 kB / 270.2 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.005172, allocations: 35.64 kB / 270.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.005324, allocations: 75.3 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.005539, allocations: 59.84 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.005864, allocations: 262.7 kB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.006028, allocations: 65.64 kB / 270.7 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.006261, allocations: 155.7 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006427, allocations: 75.78 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.006469, allocations: 20 kB / 270.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.006513, allocations: 20 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.006566, allocations: 51.81 kB / 271 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.006672, allocations: 79.83 kB / 271.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.007013, allocations: 259 kB / 271.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007016, allocations: 0 / 271.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007016, allocations: 0 / 271.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007021, allocations: 0 / 271.3 MB, free: 2.711 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.0009147/0.007935, allocations: 457.6 kB / 271.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.007969, allocations: 16.03 kB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.008057, allocations: 36.8 kB / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.008357, allocations: 178.2 kB / 272 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.008379, allocations: 12.88 kB / 272 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.00843, allocations: 28.31 kB / 272 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.008874, allocations: 218.7 kB / 272.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.008888, allocations: 192 / 272.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.008915, allocations: 11.94 kB / 272.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.008925, allocations: 8 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.009275, allocations: 143.9 kB / 272.4 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01047, allocations: 0.6663 MB / 273.1 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.01091, allocations: 196.9 kB / 273.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.01117, allocations: 101.6 kB / 273.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.0112, allocations: 4.156 kB / 273.4 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.01123, allocations: 34.56 kB / 273.4 MB, free: 488 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.01123, allocations: 0 / 273.4 MB, free: 488 kB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001738/0.01297, allocations: 0.7318 MB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.01303, allocations: 81.11 kB / 274.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.0132, allocations: 162.3 kB / 274.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.01324, allocations: 33.64 kB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01336, allocations: 144.4 kB / 274.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.01345, allocations: 95.09 kB / 274.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.01354, allocations: 45.7 kB / 274.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.01372, allocations: 338.8 kB / 275 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.01389, allocations: 59.97 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.01408, allocations: 108.2 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.01447, allocations: 192.1 kB / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01447, allocations: 0 / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004898/0.01496, allocations: 248.6 kB / 275.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01497, allocations: 4 kB / 275.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.01498, allocations: 12.03 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.015, allocations: 3.984 kB / 275.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.01528, allocations: 59.91 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.01529, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.0154, allocations: 15.89 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.01543, allocations: 12 kB / 275.7 MB, free: 14.02 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 0.0001475/0.01557, allocations: 141.8 kB / 275.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.01565, allocations: 23.91 kB / 275.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.01572, allocations: 29.75 kB / 275.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01572, allocations: 8 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01573, allocations: 0 / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.01574, allocations: 3.984 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.01664, allocations: 0.4886 MB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.01664, allocations: 4 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.01693, allocations: 55.91 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01694, allocations: 4 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.01696, allocations: 8.078 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.01696, allocations: 8 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01696, allocations: 0 / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.01775, allocations: 0.4938 MB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.01778, allocations: 15.86 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.01782, allocations: 8 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.01799, allocations: 8.031 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.01807, allocations: 23.91 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01808, allocations: 4 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.01819, allocations: 124.2 kB / 277.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01819, allocations: 0 / 277.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.01854, allocations: 55.94 kB / 277.2 MB, free: 12.44 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 0.0001379/0.01868, allocations: 110.6 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.0191, allocations: 167.8 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0191, allocations: 0 / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.01929, allocations: 100.2 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.01979, allocations: 36.08 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02093, allocations: 0.586 MB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.02121, allocations: 137.9 kB / 278.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.0213, allocations: 17.94 kB / 278.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.02137, allocations: 24.5 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02137, allocations: 0 / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Templates: time 0.005853/0.02722, allocations: 1.988 MB / 280.4 MB, free: 9.254 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.291953273001127]