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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 192.6 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] 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 0.001571/0.001571, allocations: 47.92 kB / 369.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2733, allocations: 52.13 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004262/0.2775, allocations: 2.451 MB / 423.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2787, allocations: 0.5843 MB / 424.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2789, allocations: 4 kB / 424.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.279, allocations: 39.59 kB / 424.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.2792, allocations: 67.41 kB / 424.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2795, allocations: 59.86 kB / 424.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.2798, allocations: 254.9 kB / 424.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.28, allocations: 69.36 kB / 424.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2802, allocations: 103.6 kB / 424.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2804, allocations: 111.5 kB / 425 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.2804, allocations: 20 kB / 425 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.2805, allocations: 23.94 kB / 425 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2805, allocations: 39.84 kB / 425.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.2807, allocations: 123.4 kB / 425.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2811, allocations: 260.1 kB / 425.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2811, allocations: 0 / 425.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2811, allocations: 0 / 425.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.2811, allocations: 0 / 425.4 MB, free: 10.98 MB / 334.1 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.0009645/0.2821, allocations: 0.526 MB / 426 MB, free: 10.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2821, allocations: 15.89 kB / 426 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.2822, allocations: 32.75 kB / 426 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.2826, allocations: 230.3 kB / 426.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2827, allocations: 16.81 kB / 426.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2827, allocations: 20.33 kB / 426.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.2832, allocations: 225.2 kB / 426.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2832, allocations: 4 kB / 426.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2832, allocations: 8 kB / 426.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2832, allocations: 4 kB / 426.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.2835, allocations: 147.9 kB / 426.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.2849, allocations: 0.7911 MB / 427.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.2853, allocations: 189 kB / 427.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2856, allocations: 96.92 kB / 427.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2856, allocations: 4 kB / 427.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.2857, allocations: 46.62 kB / 427.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.2857, allocations: 0 / 427.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001741/0.2874, allocations: 0.859 MB / 428.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2875, allocations: 81.11 kB / 428.7 MB, free: 7.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2876, allocations: 174.5 kB / 428.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.2877, allocations: 29.7 kB / 428.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2878, allocations: 140.5 kB / 429.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.2879, allocations: 99.31 kB / 429.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.2879, allocations: 45.7 kB / 429.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2881, allocations: 338.8 kB / 429.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2882, allocations: 67.89 kB / 429.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2884, allocations: 108.8 kB / 429.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.2888, allocations: 192.1 kB / 429.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2888, allocations: 4 kB / 429.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004784/0.2893, allocations: 252 kB / 430.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2893, allocations: 8 kB / 430.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2893, allocations: 96 / 430.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2893, allocations: 8 kB / 430.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2896, allocations: 59.91 kB / 430.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2896, allocations: 4 kB / 430.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2897, allocations: 15.89 kB / 430.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2898, allocations: 8 kB / 430.2 MB, free: 5.805 MB / 334.1 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.0001588/0.2899, allocations: 149.6 kB / 430.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.29, allocations: 15.91 kB / 430.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.2901, allocations: 29.88 kB / 430.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2901, allocations: 8 kB / 430.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2901, allocations: 0 / 430.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2901, allocations: 3.984 kB / 430.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.291, allocations: 0.5826 MB / 431 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.291, allocations: 0 / 431 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2913, allocations: 60.05 kB / 431.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.2913, allocations: 4 kB / 431.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2913, allocations: 4 kB / 431.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.984e-06/0.2913, allocations: 8.328 kB / 431.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2913, allocations: 3.938 kB / 431.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.292, allocations: 489.8 kB / 431.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.2921, allocations: 92.97 kB / 431.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2921, allocations: 12.03 kB / 431.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2923, allocations: 11.94 kB / 431.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.2924, allocations: 27.91 kB / 431.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2924, allocations: 8 kB / 431.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.2925, allocations: 132.3 kB / 431.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2925, allocations: 0 / 431.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.2929, allocations: 52 kB / 431.9 MB, free: 4.012 MB / 334.1 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.0001415/0.293, allocations: 115.1 kB / 432 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.2934, allocations: 172.1 kB / 432.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2934, allocations: 0 / 432.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2936, allocations: 91.89 kB / 432.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.2941, allocations: 39.91 kB / 432.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.2955, allocations: 0.7184 MB / 433 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.2959, allocations: 0.7441 MB / 433.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.296, allocations: 27.42 kB / 433.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.296, allocations: 0 / 433.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of Templates: time 0.005284/0.3012, allocations: 2.628 MB / 436.4 MB, free: 15.4 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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