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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9679/0.9679, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.699e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.006438/0.006465, allocations: 2.55 MB / 254.8 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.01015, allocations: 374.6 kB / 255.2 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.01041, allocations: 7.938 kB / 255.2 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.01061, allocations: 47.52 kB / 255.2 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.01083, allocations: 107 kB / 255.3 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.01119, allocations: 87.88 kB / 255.4 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.01153, allocations: 402.1 kB / 255.8 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.01171, allocations: 71.64 kB / 255.9 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.01192, allocations: 215.5 kB / 256.1 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.0121, allocations: 123.7 kB / 256.2 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.01214, allocations: 28 kB / 256.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.342e-05/0.01219, allocations: 32 kB / 256.2 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.01225, allocations: 71.73 kB / 256.3 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.01236, allocations: 119.7 kB / 256.4 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.01264, allocations: 251.1 kB / 256.7 MB, free: 2.797 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.01264, allocations: 4 kB / 256.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01264, allocations: 0 / 256.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01265, allocations: 0 / 256.7 MB, free: 2.793 MB / 234.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.004059/0.01671, allocations: 0.6518 MB / 257.3 MB, free: 2.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.01675, allocations: 15.98 kB / 257.4 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.713e-05/0.01684, allocations: 60.7 kB / 257.4 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.01709, allocations: 211.9 kB / 257.6 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.01712, allocations: 25.03 kB / 257.6 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.01717, allocations: 36.34 kB / 257.7 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.01748, allocations: 199.3 kB / 257.9 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.0175, allocations: 4.141 kB / 257.9 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.01752, allocations: 12.38 kB / 257.9 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01753, allocations: 8.375 kB / 257.9 MB, free: 1.504 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.01771, allocations: 128.3 kB / 258 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.0186, allocations: 0.6314 MB / 258.7 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.01891, allocations: 251.1 kB / 258.9 MB, free: 472 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/0.02206, allocations: 103.6 kB / 259 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.02209, allocations: 8 kB / 259 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.02211, allocations: 41.39 kB / 259 MB, free: 304 kB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.846e-06/0.02212, allocations: 0 / 259 MB, free: 304 kB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.002022/0.02414, allocations: 1.275 MB / 260.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.02417, allocations: 60.06 kB / 260.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.02429, allocations: 237.5 kB / 260.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.02432, allocations: 37.7 kB / 260.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.02441, allocations: 195.8 kB / 260.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.02452, allocations: 230 kB / 261.1 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.02462, allocations: 103.9 kB / 261.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.02476, allocations: 0.5156 MB / 261.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.02484, allocations: 69.25 kB / 261.8 MB, free: 13.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.02493, allocations: 69.86 kB / 261.8 MB, free: 13.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.02514, allocations: 204.7 kB / 262 MB, free: 13.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.02514, allocations: 0 / 262 MB, free: 13.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003184/0.02546, allocations: 333 kB / 262.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.02547, allocations: 4 kB / 262.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02548, allocations: 3.984 kB / 262.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.02549, allocations: 4 kB / 262.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.02577, allocations: 111.9 kB / 262.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.02578, allocations: 7.938 kB / 262.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.02586, allocations: 19.98 kB / 262.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.02589, allocations: 12 kB / 262.5 MB, free: 12.7 MB / 250.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.0001331/0.02602, allocations: 176.5 kB / 262.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.02608, allocations: 55.75 kB / 262.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.02616, allocations: 51.33 kB / 262.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02617, allocations: 4 kB / 262.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02617, allocations: 0 / 262.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02618, allocations: 3.984 kB / 262.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.02726, allocations: 1.046 MB / 263.8 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.02727, allocations: 8.562 kB / 263.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.02801, allocations: 127.8 kB / 264 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.02802, allocations: 8 kB / 264 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02804, allocations: 19.98 kB / 264 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.02805, allocations: 11.94 kB / 264 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.02806, allocations: 7.984 kB / 264 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.02869, allocations: 0.7341 MB / 264.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.02872, allocations: 31.81 kB / 264.8 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.02876, allocations: 20 kB / 264.8 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.02888, allocations: 19.98 kB / 264.8 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.02894, allocations: 59.55 kB / 264.9 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.02896, allocations: 16 kB / 264.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.02903, allocations: 164.4 kB / 265.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02903, allocations: 0 / 265.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000273/0.0293, allocations: 96 kB / 265.1 MB, free: 9.84 MB / 250.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.0001292/0.02943, allocations: 115.1 kB / 265.3 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.02973, allocations: 280.9 kB / 265.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02974, allocations: 0 / 265.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.02991, allocations: 180.3 kB / 265.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.03031, allocations: 100.5 kB / 265.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.03126, allocations: 0.8998 MB / 266.7 MB, free: 8.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.03134, allocations: 110.8 kB / 266.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.03146, allocations: 47.27 kB / 266.9 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.03165, allocations: 158.1 kB / 267 MB, free: 7.836 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03165, allocations: 0 / 267 MB, free: 7.836 MB / 250.7 MB Notification: Performance of Templates: time 0.007193/0.03885, allocations: 4.696 MB / 271.7 MB, free: 3.191 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.821611715015024]