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.00103/0.00103, allocations: 76.08 kB / 21.18 MB, free: 3.387 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.0009262/0.0009262, allocations: 141.1 kB / 24.54 MB, free: 36 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 0.9878/0.9878, allocations: 173.3 MB / 201.1 MB, free: 8.48 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.403e-06/1.403e-06, allocations: 0 / 268 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.42e-05, allocations: 6.25 kB / 268 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002796/0.002821, allocations: 2.43 MB / 270.4 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.003718, allocations: 0.5725 MB / 271 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.003837, allocations: 8 kB / 271 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.003974, allocations: 43.58 kB / 271 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.004084, allocations: 71.28 kB / 271.1 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.004322, allocations: 59.91 kB / 271.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.004568, allocations: 262.7 kB / 271.4 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.004751, allocations: 65.64 kB / 271.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.004946, allocations: 155.7 kB / 271.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.00506, allocations: 75.78 kB / 271.7 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.005092, allocations: 20 kB / 271.7 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.005117, allocations: 20 kB / 271.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.005154, allocations: 55.75 kB / 271.8 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.005219, allocations: 79.83 kB / 271.9 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.005444, allocations: 175.3 kB / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005447, allocations: 0 / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005447, allocations: 0 / 272 MB, free: 2.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005452, allocations: 0 / 272 MB, free: 2.059 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.0005933/0.006046, allocations: 0.5468 MB / 272.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.006087, allocations: 8.031 kB / 272.6 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.006153, allocations: 40.8 kB / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.006374, allocations: 188.8 kB / 272.8 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006389, allocations: 16.88 kB / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.006426, allocations: 16.38 kB / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.006688, allocations: 201.1 kB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.0067, allocations: 192 / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.00672, allocations: 11.94 kB / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006728, allocations: 8 kB / 273.1 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.00687, allocations: 75.88 kB / 273.1 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/0.007763, allocations: 0.7385 MB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.008028, allocations: 158 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.008151, allocations: 75.34 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.008173, allocations: 4 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.008196, allocations: 41.39 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.008198, allocations: 0 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009469/0.009145, allocations: 0.6046 MB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.009185, allocations: 85.05 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.009297, allocations: 217.9 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.009313, allocations: 37.7 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.009401, allocations: 191.3 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.009457, allocations: 95.17 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.00952, allocations: 59.3 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.009665, allocations: 0.4962 MB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.009733, allocations: 35.97 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.009823, allocations: 90.33 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.00999, allocations: 141.4 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.009991, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002361/0.01023, allocations: 193.4 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01024, allocations: 4 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01025, allocations: 3.938 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01027, allocations: 8 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.01043, allocations: 63.91 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01044, allocations: 0 / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.01049, allocations: 15.89 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01051, allocations: 8 kB / 276.5 MB, free: 13.27 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.0001043/0.01061, allocations: 176.6 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.01066, allocations: 27.91 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.0107, allocations: 29.75 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.01071, allocations: 4 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01072, allocations: 0 / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01072, allocations: 3.984 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.01122, allocations: 0.504 MB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01122, allocations: 3.984 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.01137, allocations: 60.02 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01137, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.01139, allocations: 11.98 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01139, allocations: 4 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01139, allocations: 3.938 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.01176, allocations: 0.498 MB / 277.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01178, allocations: 15.84 kB / 277.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01181, allocations: 8 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.01188, allocations: 8 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.01194, allocations: 23.89 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01195, allocations: 12 kB / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.01202, allocations: 164.2 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01224, allocations: 55.94 kB / 278.1 MB, free: 11.57 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 8.846e-05/0.01232, allocations: 103.2 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.01252, allocations: 123.5 kB / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01253, allocations: 0 / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.01261, allocations: 83.7 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.01293, allocations: 48.48 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.01391, allocations: 0.599 MB / 279 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.364e-05/0.01397, allocations: 83.98 kB / 279.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.059e-05/0.01403, allocations: 17.94 kB / 279.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.01409, allocations: 20.5 kB / 279.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01409, allocations: 0 / 279.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of Templates: time 0.004067/0.01816, allocations: 1.98 MB / 281.1 MB, free: 8.469 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.9598443782888353]