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.0008998/0.0008998, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003773/0.003773, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8582/0.8582, allocations: 177 MB / 204.9 MB, free: 5.73 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.232e-06/1.232e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.785e-05, allocations: 2.844 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002215/0.002233, allocations: 2.311 MB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.003023, allocations: 0.6348 MB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.003114, allocations: 7.938 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.003223, allocations: 39.59 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.003313, allocations: 67.34 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.003554, allocations: 91.75 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.003761, allocations: 266.7 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.003897, allocations: 61.7 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.004072, allocations: 159.6 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.004167, allocations: 75.77 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.004193, allocations: 20 kB / 329.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.004239, allocations: 24 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.004268, allocations: 51.81 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.004319, allocations: 75.83 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.004546, allocations: 263 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004549, allocations: 8 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004549, allocations: 0 / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004554, allocations: 0 / 329.9 MB, free: 11.23 MB / 298.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.00051/0.005064, allocations: 465.6 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.005095, allocations: 11.98 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.005222, allocations: 44.73 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.005417, allocations: 181.5 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.005431, allocations: 12.88 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.005464, allocations: 24.33 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.005727, allocations: 218.7 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.005741, allocations: 192 / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.005759, allocations: 11.94 kB / 330.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.005766, allocations: 11.98 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.005956, allocations: 143.9 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.006615, allocations: 0.6702 MB / 331.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.006878, allocations: 181 kB / 331.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.007015, allocations: 97.61 kB / 331.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.007033, allocations: 8 kB / 331.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.007053, allocations: 42.5 kB / 332 MB, free: 8.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.007054, allocations: 0 / 332 MB, free: 8.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009538/0.008008, allocations: 0.7151 MB / 332.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.008048, allocations: 85.05 kB / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.008145, allocations: 174.8 kB / 333 MB, free: 7.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.008158, allocations: 29.7 kB / 333 MB, free: 7.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.008222, allocations: 136.5 kB / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.008271, allocations: 107.3 kB / 333.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.008321, allocations: 45.7 kB / 333.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.008404, allocations: 330.8 kB / 333.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.008493, allocations: 67.95 kB / 333.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.008594, allocations: 113.2 kB / 333.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.008794, allocations: 188.2 kB / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008795, allocations: 0 / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002533/0.009049, allocations: 248.3 kB / 334.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.00906, allocations: 4 kB / 334.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.009066, allocations: 3.938 kB / 334.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.00908, allocations: 4 kB / 334.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.00921, allocations: 68 kB / 334.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009215, allocations: 3.938 kB / 334.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.009264, allocations: 15.98 kB / 334.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.009275, allocations: 8 kB / 334.3 MB, free: 6.543 MB / 298.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.822e-05/0.009353, allocations: 133.8 kB / 334.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.009388, allocations: 27.8 kB / 334.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.009426, allocations: 33.73 kB / 334.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.009428, allocations: 0 / 334.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.009433, allocations: 4 kB / 334.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009436, allocations: 4 kB / 334.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.009903, allocations: 496.4 kB / 335 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.009905, allocations: 3.984 kB / 335 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.01004, allocations: 55.91 kB / 335 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01004, allocations: 4 kB / 335 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01005, allocations: 8 kB / 335.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01006, allocations: 0 / 335.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01006, allocations: 12.03 kB / 335.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.01044, allocations: 497.3 kB / 335.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.01046, allocations: 15.86 kB / 335.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01047, allocations: 8 kB / 335.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.01055, allocations: 12 kB / 335.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.0106, allocations: 19.95 kB / 335.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01061, allocations: 12 kB / 335.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.272e-05/0.01066, allocations: 119.2 kB / 335.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 4 kB / 335.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01087, allocations: 47.94 kB / 335.8 MB, free: 4.977 MB / 298.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.268e-05/0.01094, allocations: 103.2 kB / 335.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.01117, allocations: 175.7 kB / 336.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01117, allocations: 4 kB / 336.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.01127, allocations: 100.2 kB / 336.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01157, allocations: 31.98 kB / 336.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.01224, allocations: 0.6049 MB / 336.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.551e-05/0.01232, allocations: 141.5 kB / 336.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.01238, allocations: 32.48 kB / 337 MB, free: 3.719 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01238, allocations: 3.938 kB / 337 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Templates: time 0.002852/0.01523, allocations: 2.729 MB / 339.7 MB, free: 0.9961 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.2604139521718025]