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.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 183.2 kB / 16.71 MB, free: 4.973 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.26/1.26, allocations: 225.7 MB / 243.2 MB, free: 8.488 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.0007327/0.0007327, allocations: 92.52 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002373, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1874, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.001735/0.1892, allocations: 2.191 MB / 406.8 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004484/0.1896, allocations: 374.5 kB / 407.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.1897, allocations: 4 kB / 407.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.1898, allocations: 35.69 kB / 407.2 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.19, allocations: 85.22 kB / 407.3 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1902, allocations: 83.8 kB / 407.3 MB, free: 28.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1904, allocations: 354.4 kB / 407.7 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1906, allocations: 95.28 kB / 407.8 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.1907, allocations: 111.6 kB / 407.9 MB, free: 28.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1908, allocations: 155.2 kB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1908, allocations: 16 kB / 408.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.1909, allocations: 16 kB / 408.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.1909, allocations: 55.75 kB / 408.1 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.191, allocations: 172.9 kB / 408.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1912, allocations: 348.2 kB / 408.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1912, allocations: 0 / 408.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1912, allocations: 0 / 408.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1913, allocations: 1.375 kB / 408.6 MB, free: 27.26 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007375/0.192, allocations: 0.5936 MB / 409.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.192, allocations: 16.03 kB / 409.2 MB, free: 26.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.1921, allocations: 36.47 kB / 409.3 MB, free: 26.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1923, allocations: 267.6 kB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1923, allocations: 20.94 kB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1924, allocations: 28.31 kB / 409.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.1928, allocations: 281.4 kB / 409.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1928, allocations: 4.188 kB / 409.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1929, allocations: 15.94 kB / 409.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1929, allocations: 4 kB / 409.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.1934, allocations: 282.1 kB / 410.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.1943, allocations: 0.8106 MB / 411 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.1948, allocations: 366.7 kB / 411.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.1951, allocations: 200.8 kB / 411.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1951, allocations: 7.938 kB / 411.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.1951, allocations: 42.56 kB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.1951, allocations: 0 / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003398/0.1985, allocations: 2.023 MB / 413.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.1986, allocations: 67.89 kB / 413.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1987, allocations: 191 kB / 413.8 MB, free: 21.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1987, allocations: 33.7 kB / 413.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.1988, allocations: 149 kB / 414 MB, free: 21.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.1989, allocations: 216.8 kB / 414.2 MB, free: 21.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.1989, allocations: 12 kB / 414.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.199, allocations: 354.7 kB / 414.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.1992, allocations: 161 kB / 414.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.1995, allocations: 180.9 kB / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.2001, allocations: 388 kB / 415.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2001, allocations: 0 / 415.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006582/0.2007, allocations: 0.4908 MB / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2007, allocations: 4 kB / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2008, allocations: 3.938 kB / 415.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2008, allocations: 4 kB / 415.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.2012, allocations: 123.9 kB / 415.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2012, allocations: 4 kB / 415.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2014, allocations: 31.98 kB / 416 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.2014, allocations: 19.92 kB / 416 MB, free: 19.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001064/0.2016, allocations: 157.7 kB / 416.1 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2016, allocations: 35.62 kB / 416.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.2017, allocations: 47.33 kB / 416.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2017, allocations: 4 kB / 416.2 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2017, allocations: 4 kB / 416.2 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2017, allocations: 4 kB / 416.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2032, allocations: 1.329 MB / 417.6 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2032, allocations: 4 kB / 417.6 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.2036, allocations: 127.8 kB / 417.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.2036, allocations: 11.94 kB / 417.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.2037, allocations: 16 kB / 417.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.2037, allocations: 16.36 kB / 417.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2037, allocations: 11.94 kB / 417.7 MB, free: 17.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.2047, allocations: 0.894 MB / 418.6 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2047, allocations: 120.8 kB / 418.8 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2048, allocations: 20.03 kB / 418.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.205, allocations: 31.98 kB / 418.8 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.2051, allocations: 47.83 kB / 418.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2051, allocations: 23.98 kB / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.2052, allocations: 140.6 kB / 419 MB, free: 16.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2052, allocations: 3.938 kB / 419 MB, free: 16.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.2055, allocations: 100 kB / 419.1 MB, free: 16.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001055/0.2056, allocations: 125.5 kB / 419.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.2063, allocations: 454.6 kB / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2063, allocations: 0 / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.2066, allocations: 264.7 kB / 419.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.2073, allocations: 81.06 kB / 420 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2085, allocations: 1.236 MB / 421.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2087, allocations: 0.7935 MB / 422.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.2089, allocations: 47.25 kB / 422.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.209, allocations: 39.42 kB / 422.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.209, allocations: 0 / 422.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Templates: time 0.005989/0.215, allocations: 3.818 MB / 426 MB, free: 9.305 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches