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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007012/0.0007012, allocations: 86.66 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002305, allocations: 8 kB / 351.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.179, allocations: 50.41 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00181/0.1809, allocations: 2.024 MB / 404.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.1817, allocations: 0.5411 MB / 404.8 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1818, allocations: 5.25 kB / 404.8 MB, free: 30 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.182, allocations: 31.77 kB / 404.8 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1821, allocations: 57.2 kB / 404.9 MB, free: 29.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.1823, allocations: 51.78 kB / 404.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1825, allocations: 230.9 kB / 405.1 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1826, allocations: 61.36 kB / 405.2 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1828, allocations: 83.7 kB / 405.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1829, allocations: 92.83 kB / 405.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.1829, allocations: 11.94 kB / 405.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.183, allocations: 12 kB / 405.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.183, allocations: 40.91 kB / 405.4 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.183, allocations: 61.58 kB / 405.5 MB, free: 29.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1832, allocations: 185 kB / 405.7 MB, free: 29.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1832, allocations: 4 kB / 405.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1832, allocations: 0 / 405.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1832, allocations: 0 / 405.7 MB, free: 29.09 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.000568/0.1838, allocations: 0.4949 MB / 406.2 MB, free: 28.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1838, allocations: 8.031 kB / 406.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1839, allocations: 31.61 kB / 406.2 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1841, allocations: 229.1 kB / 406.4 MB, free: 28.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1841, allocations: 16.44 kB / 406.5 MB, free: 28.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1841, allocations: 16 kB / 406.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1845, allocations: 221.3 kB / 406.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1845, allocations: 8 kB / 406.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.1845, allocations: 8 kB / 406.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1845, allocations: 7.938 kB / 406.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1848, allocations: 156.4 kB / 406.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.1857, allocations: 0.7958 MB / 407.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1861, allocations: 201 kB / 407.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1863, allocations: 113.7 kB / 408 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1863, allocations: 3.953 kB / 408 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.1863, allocations: 38.55 kB / 408 MB, free: 26.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1863, allocations: 0 / 408 MB, free: 26.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001245/0.1876, allocations: 0.8941 MB / 408.9 MB, free: 25.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.1876, allocations: 81.11 kB / 409 MB, free: 25.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1877, allocations: 175.5 kB / 409.2 MB, free: 25.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1877, allocations: 29.7 kB / 409.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1878, allocations: 140.4 kB / 409.3 MB, free: 25.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1878, allocations: 98.64 kB / 409.4 MB, free: 25.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.1879, allocations: 8 kB / 409.4 MB, free: 25.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.1879, allocations: 326.8 kB / 409.7 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.188, allocations: 71.95 kB / 409.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1882, allocations: 112.7 kB / 409.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1883, allocations: 75.98 kB / 410 MB, free: 24.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1883, allocations: 3.938 kB / 410 MB, free: 24.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003432/0.1887, allocations: 252.6 kB / 410.2 MB, free: 24.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1887, allocations: 8 kB / 410.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1887, allocations: 0 / 410.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1887, allocations: 4 kB / 410.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.189, allocations: 67.89 kB / 410.3 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.189, allocations: 8.062 kB / 410.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1891, allocations: 16.09 kB / 410.3 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1891, allocations: 8 kB / 410.4 MB, free: 24.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/0.1892, allocations: 141.7 kB / 410.5 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1893, allocations: 19.72 kB / 410.5 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.1893, allocations: 29.86 kB / 410.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1893, allocations: 4 kB / 410.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1893, allocations: 0 / 410.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1893, allocations: 0 / 410.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.1899, allocations: 0.5981 MB / 411.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1899, allocations: 3.938 kB / 411.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.1902, allocations: 60.06 kB / 411.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1902, allocations: 0 / 411.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1902, allocations: 8 kB / 411.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1902, allocations: 7.984 kB / 411.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1902, allocations: 3.938 kB / 411.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.1907, allocations: 0.4923 MB / 411.7 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1908, allocations: 96.83 kB / 411.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1908, allocations: 4 kB / 411.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.191, allocations: 20.03 kB / 411.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.191, allocations: 23.88 kB / 411.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.191, allocations: 8 kB / 411.9 MB, free: 22.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.343e-05/0.1911, allocations: 132.3 kB / 412 MB, free: 22.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1911, allocations: 0 / 412 MB, free: 22.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.1914, allocations: 52 kB / 412 MB, free: 22.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.307e-05/0.1915, allocations: 107.7 kB / 412.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1918, allocations: 175.9 kB / 412.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1918, allocations: 0 / 412.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.192, allocations: 108.1 kB / 412.4 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1924, allocations: 36.11 kB / 412.5 MB, free: 21.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.1933, allocations: 0.8595 MB / 413.3 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1934, allocations: 0.7484 MB / 414.1 MB, free: 20.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.1935, allocations: 23.38 kB / 414.1 MB, free: 20.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1935, allocations: 0 / 414.1 MB, free: 20.13 MB / 298.7 MB Notification: Performance of Templates: time 0.003343/0.1969, allocations: 2.565 MB / 416.7 MB, free: 17.57 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches