Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008586/0.000859, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 225.7 MB / 243.2 MB, free: 10.23 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007294/0.0007295, allocations: 96.22 kB / 294.4 MB, free: 9.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002188, allocations: 4 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1833, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001585/0.1849, allocations: 2.02 MB / 406.6 MB, free: 29.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.1852, allocations: 239.4 kB / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.1853, allocations: 8 kB / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.1854, allocations: 27.77 kB / 406.9 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1855, allocations: 73.59 kB / 406.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1857, allocations: 54.42 kB / 407 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1859, allocations: 274.7 kB / 407.3 MB, free: 28.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.186, allocations: 85 kB / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.1861, allocations: 95.58 kB / 407.4 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.1862, allocations: 103.5 kB / 407.5 MB, free: 28.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1862, allocations: 12 kB / 407.6 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.198e-05/0.1863, allocations: 16 kB / 407.6 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1863, allocations: 43.77 kB / 407.6 MB, free: 28.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.1864, allocations: 141.1 kB / 407.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1865, allocations: 275.7 kB / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1866, allocations: 0 / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1866, allocations: 0 / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1866, allocations: 0 / 408 MB, free: 27.89 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004828/0.1871, allocations: 0.5081 MB / 408.5 MB, free: 27.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1871, allocations: 8.031 kB / 408.5 MB, free: 27.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1871, allocations: 28.66 kB / 408.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1873, allocations: 250.8 kB / 408.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1873, allocations: 20.94 kB / 408.8 MB, free: 27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1874, allocations: 28.31 kB / 408.9 MB, free: 26.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.1877, allocations: 236 kB / 409.1 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1877, allocations: 12.09 kB / 409.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1877, allocations: 7.938 kB / 409.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1877, allocations: 8 kB / 409.1 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.188, allocations: 167.8 kB / 409.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.1887, allocations: 0.797 MB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.1891, allocations: 287.8 kB / 410.4 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.1893, allocations: 130.5 kB / 410.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1893, allocations: 4 kB / 410.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.1893, allocations: 46.55 kB / 410.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.1893, allocations: 0 / 410.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001792/0.1911, allocations: 1.947 MB / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1912, allocations: 110.8 kB / 412.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1913, allocations: 187.2 kB / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1913, allocations: 29.7 kB / 412.8 MB, free: 22.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.1914, allocations: 144.7 kB / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.1914, allocations: 165.9 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.1914, allocations: 12 kB / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.1915, allocations: 330.8 kB / 413.4 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1916, allocations: 96.72 kB / 413.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1918, allocations: 154.3 kB / 413.7 MB, free: 21.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.192, allocations: 266.8 kB / 413.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.192, allocations: 4 kB / 413.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003417/0.1924, allocations: 347 kB / 414.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1924, allocations: 12.03 kB / 414.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1924, allocations: 4 kB / 414.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1924, allocations: 4 kB / 414.3 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1927, allocations: 87.91 kB / 414.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1927, allocations: 7.938 kB / 414.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.1928, allocations: 12 kB / 414.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1929, allocations: 12 kB / 414.4 MB, free: 20.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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 8.328e-05/0.1929, allocations: 149.8 kB / 414.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.193, allocations: 31.56 kB / 414.6 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.1931, allocations: 45.88 kB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1931, allocations: 4 kB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1931, allocations: 3.984 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1931, allocations: 0 / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.194, allocations: 1.05 MB / 415.7 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1941, allocations: 4 kB / 415.7 MB, free: 19.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.1944, allocations: 91.89 kB / 415.8 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1944, allocations: 7.938 kB / 415.8 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1944, allocations: 12 kB / 415.8 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1944, allocations: 7.938 kB / 415.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1944, allocations: 4 kB / 415.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.1949, allocations: 0.7211 MB / 416.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.195, allocations: 96.83 kB / 416.6 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.195, allocations: 19.98 kB / 416.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1952, allocations: 12 kB / 416.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1952, allocations: 27.91 kB / 416.7 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1953, allocations: 20 kB / 416.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.1953, allocations: 135.2 kB / 416.9 MB, free: 18.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1953, allocations: 0 / 416.9 MB, free: 18.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000336/0.1957, allocations: 75.94 kB / 416.9 MB, free: 18.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.712e-05/0.1958, allocations: 119.2 kB / 417 MB, free: 18.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1961, allocations: 263.7 kB / 417.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1961, allocations: 4.188 kB / 417.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1962, allocations: 143.7 kB / 417.4 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.1968, allocations: 61.03 kB / 417.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1978, allocations: 1.116 MB / 418.6 MB, free: 16.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.198, allocations: 0.7685 MB / 419.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1981, allocations: 42.94 kB / 419.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1982, allocations: 27.44 kB / 419.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1982, allocations: 0 / 419.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.004609/0.2028, allocations: 2.803 MB / 422.3 MB, free: 12.84 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches