Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 200.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.0007631, allocations: 96.25 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002048/0.0002048, allocations: 4 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1815, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.001908/0.1835, allocations: 2.203 MB / 414.3 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.184, allocations: 368.7 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1842, allocations: 7.938 kB / 414.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1843, allocations: 39.69 kB / 414.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1844, allocations: 81.91 kB / 414.7 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1847, allocations: 75.92 kB / 414.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.185, allocations: 362.4 kB / 415.2 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1852, allocations: 105 kB / 415.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.1853, allocations: 123.5 kB / 415.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1854, allocations: 143.4 kB / 415.5 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.1854, allocations: 20 kB / 415.6 MB, free: 22.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.1855, allocations: 19.94 kB / 415.6 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.1855, allocations: 47.83 kB / 415.6 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1856, allocations: 176.9 kB / 415.8 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1858, allocations: 344.1 kB / 416.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1858, allocations: 0 / 416.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1859, allocations: 0 / 416.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1859, allocations: 0 / 416.1 MB, free: 21.82 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.0008219/0.1867, allocations: 0.5964 MB / 416.7 MB, free: 21.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1867, allocations: 12.03 kB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1868, allocations: 32.56 kB / 416.8 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.187, allocations: 264.6 kB / 417 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.187, allocations: 20.94 kB / 417 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.1871, allocations: 28.38 kB / 417.1 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1875, allocations: 281.4 kB / 417.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1876, allocations: 12.02 kB / 417.4 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1876, allocations: 23.94 kB / 417.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1876, allocations: 7.938 kB / 417.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.1881, allocations: 282.1 kB / 417.7 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.1891, allocations: 0.7952 MB / 418.5 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1896, allocations: 358.7 kB / 418.8 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1899, allocations: 208.8 kB / 419 MB, free: 18.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1899, allocations: 4 kB / 419 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.1899, allocations: 34.56 kB / 419.1 MB, free: 18.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.19, allocations: 0 / 419.1 MB, free: 18.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003494/0.1935, allocations: 2.039 MB / 421.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.1935, allocations: 59.91 kB / 421.2 MB, free: 16.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1936, allocations: 195 kB / 421.3 MB, free: 16.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1937, allocations: 41.69 kB / 421.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.1937, allocations: 141.1 kB / 421.5 MB, free: 16.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.1938, allocations: 224.6 kB / 421.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.1938, allocations: 12 kB / 421.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.1939, allocations: 346.7 kB / 422.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.1942, allocations: 169 kB / 422.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1945, allocations: 180.9 kB / 422.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.195, allocations: 388 kB / 422.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.195, allocations: 0 / 422.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006709/0.1957, allocations: 494.7 kB / 423.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1957, allocations: 4 kB / 423.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1957, allocations: 0 / 423.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1958, allocations: 4 kB / 423.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.1962, allocations: 127.8 kB / 423.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1962, allocations: 4 kB / 423.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1964, allocations: 31.97 kB / 423.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1964, allocations: 19.94 kB / 423.5 MB, free: 14.14 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.0001115/0.1966, allocations: 157.7 kB / 423.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1966, allocations: 35.62 kB / 423.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.1967, allocations: 51.33 kB / 423.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1967, allocations: 8 kB / 423.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1967, allocations: 0 / 423.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1967, allocations: 3.984 kB / 423.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1983, allocations: 1.34 MB / 425.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1983, allocations: 4 kB / 425.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.1987, allocations: 124.4 kB / 425.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.1987, allocations: 15.94 kB / 425.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1988, allocations: 16 kB / 425.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1988, allocations: 11.98 kB / 425.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1988, allocations: 7.938 kB / 425.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1998, allocations: 0.894 MB / 426.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1999, allocations: 120.6 kB / 426.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.1999, allocations: 16 kB / 426.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.2002, allocations: 35.98 kB / 426.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2002, allocations: 51.81 kB / 426.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2003, allocations: 24 kB / 426.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.2004, allocations: 140.6 kB / 426.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2004, allocations: 0 / 426.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.2008, allocations: 96 kB / 426.6 MB, free: 10.8 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.0001239/0.2009, allocations: 127.1 kB / 426.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006746/0.2016, allocations: 454.6 kB / 427.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2016, allocations: 0 / 427.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.202, allocations: 264.4 kB / 427.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.2026, allocations: 79.95 kB / 427.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2039, allocations: 1.232 MB / 428.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2041, allocations: 0.7935 MB / 429.5 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.2042, allocations: 43.27 kB / 429.6 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.2043, allocations: 35.44 kB / 429.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2043, allocations: 0 / 429.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of Templates: time 0.005854/0.2102, allocations: 3.807 MB / 433.4 MB, free: 3.879 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches