Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009782/0.0009781, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 102.3 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007796/0.0007796, allocations: 35.95 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1888, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003164/0.192, allocations: 2.628 MB / 376.5 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005435/0.1926, allocations: 368.2 kB / 376.8 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1927, allocations: 5.656 kB / 376.8 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1929, allocations: 44.06 kB / 376.9 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1931, allocations: 81.97 kB / 376.9 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1933, allocations: 75.45 kB / 377 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1937, allocations: 372.4 kB / 377.4 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1939, allocations: 93.77 kB / 377.5 MB, free: 43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.194, allocations: 127.7 kB / 377.6 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1942, allocations: 161.4 kB / 377.8 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1942, allocations: 19.69 kB / 377.8 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.1943, allocations: 23.62 kB / 377.8 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.1943, allocations: 57.39 kB / 377.8 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1945, allocations: 161.1 kB / 378 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1947, allocations: 348.5 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1947, allocations: 1.125 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1948, allocations: 3.938 kB / 378.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1948, allocations: 0 / 378.4 MB, free: 42.41 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.0009158/0.1957, allocations: 0.6262 MB / 379 MB, free: 41.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1957, allocations: 9.156 kB / 379 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.1958, allocations: 37.72 kB / 379 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.196, allocations: 268.5 kB / 379.3 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1961, allocations: 24.62 kB / 379.3 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.1961, allocations: 31.44 kB / 379.3 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1966, allocations: 273.3 kB / 379.6 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1966, allocations: 9.234 kB / 379.6 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1966, allocations: 19.31 kB / 379.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1966, allocations: 6.875 kB / 379.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.1971, allocations: 265.3 kB / 379.9 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.1981, allocations: 0.7962 MB / 380.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.1986, allocations: 348.2 kB / 381 MB, free: 40.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.199, allocations: 194.6 kB / 381.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.199, allocations: 4.625 kB / 381.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.199, allocations: 44.73 kB / 381.3 MB, free: 40.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.199, allocations: 0 / 381.3 MB, free: 40.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003728/0.2028, allocations: 1.97 MB / 383.2 MB, free: 39.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2028, allocations: 57.62 kB / 383.3 MB, free: 38.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.203, allocations: 200.3 kB / 383.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.203, allocations: 35.92 kB / 383.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2031, allocations: 147.2 kB / 383.7 MB, free: 38.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2032, allocations: 213.5 kB / 383.9 MB, free: 38.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2034, allocations: 94.11 kB / 384 MB, free: 38.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.2034, allocations: 346.6 kB / 384.3 MB, free: 38.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.2037, allocations: 165.9 kB / 384.5 MB, free: 37.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.204, allocations: 169.2 kB / 384.6 MB, free: 37.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.2046, allocations: 378.4 kB / 385 MB, free: 37.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2047, allocations: 0 / 385 MB, free: 37.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008598/0.2055, allocations: 478.3 kB / 385.5 MB, free: 37.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.2056, allocations: 10.23 kB / 385.5 MB, free: 37.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2056, allocations: 0 / 385.5 MB, free: 37.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2056, allocations: 2.375 kB / 385.5 MB, free: 37.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.206, allocations: 120.6 kB / 385.6 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2061, allocations: 7.984 kB / 385.6 MB, free: 37.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2063, allocations: 35.92 kB / 385.7 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2063, allocations: 23.88 kB / 385.7 MB, free: 37.32 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 (elastoGap2.contact,elastoGap1.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.0001385/0.2064, allocations: 158.6 kB / 385.8 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.2065, allocations: 35.62 kB / 385.9 MB, free: 37.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2066, allocations: 43.34 kB / 385.9 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2066, allocations: 8 kB / 385.9 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.2066, allocations: 0 / 385.9 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2067, allocations: 7.984 kB / 385.9 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2081, allocations: 1.317 MB / 387.2 MB, free: 35.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2081, allocations: 8 kB / 387.2 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.2085, allocations: 124.4 kB / 387.4 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2085, allocations: 15.92 kB / 387.4 MB, free: 35.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2086, allocations: 16 kB / 387.4 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2086, allocations: 8 kB / 387.4 MB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2086, allocations: 7.938 kB / 387.4 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.2129, allocations: 3.408 MB / 390.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.213, allocations: 108.8 kB / 390.9 MB, free: 31.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.213, allocations: 19.94 kB / 390.9 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2132, allocations: 23.98 kB / 391 MB, free: 31.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2133, allocations: 55.83 kB / 391 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2134, allocations: 23.98 kB / 391.1 MB, free: 31.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.2134, allocations: 136.6 kB / 391.2 MB, free: 31.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2135, allocations: 0 / 391.2 MB, free: 31.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.2139, allocations: 128 kB / 391.3 MB, free: 31.34 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.000114/0.2141, allocations: 119.1 kB / 391.4 MB, free: 31.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.2147, allocations: 438.7 kB / 391.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2147, allocations: 0 / 391.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.2151, allocations: 260.8 kB / 392.1 MB, free: 30.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.2157, allocations: 83.73 kB / 392.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2172, allocations: 1.507 MB / 393.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2174, allocations: 0.8091 MB / 394.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.2176, allocations: 59.23 kB / 394.6 MB, free: 27.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2177, allocations: 39.42 kB / 394.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2177, allocations: 0 / 394.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of Templates: time 0.006437/0.2241, allocations: 4.772 MB / 399.4 MB, free: 23.18 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches