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.001312/0.001312, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.0008842/0.0008842, allocations: 164.9 kB / 25.7 MB, free: 7.438 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.8429/0.8429, allocations: 158.6 MB / 187.6 MB, free: 2.793 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 2.023e-06/2.023e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.66e-05, allocations: 6.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002697/0.002724, allocations: 2.546 MB / 254.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.003337, allocations: 390.4 kB / 254.4 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.003438, allocations: 15.94 kB / 254.5 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.003569, allocations: 43.52 kB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.003701, allocations: 103 kB / 254.6 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.003941, allocations: 99.73 kB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.004232, allocations: 394.1 kB / 255.1 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.004384, allocations: 86.25 kB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.004576, allocations: 215.5 kB / 255.4 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.004732, allocations: 123.7 kB / 255.5 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.004773, allocations: 28 kB / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.004804, allocations: 32 kB / 255.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.004852, allocations: 67.73 kB / 255.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.004941, allocations: 119.7 kB / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.005214, allocations: 255 kB / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005216, allocations: 0 / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005217, allocations: 0 / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005221, allocations: 8 kB / 256 MB, free: 2.777 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.000638/0.005859, allocations: 0.5155 MB / 256.5 MB, free: 2.234 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.005904, allocations: 15.92 kB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.005976, allocations: 44.91 kB / 256.6 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.006222, allocations: 197.1 kB / 256.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.006249, allocations: 25.03 kB / 256.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.006286, allocations: 28.33 kB / 256.8 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.006527, allocations: 207.3 kB / 257 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.006544, allocations: 8.125 kB / 257 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.006562, allocations: 8.375 kB / 257 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.006572, allocations: 8.375 kB / 257 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.006696, allocations: 104.5 kB / 257.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.007357, allocations: 486.7 kB / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.007593, allocations: 242.5 kB / 257.9 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.00768, allocations: 92.69 kB / 257.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.007703, allocations: 8 kB / 257.9 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.007726, allocations: 38.56 kB / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.724e-06/0.007727, allocations: 0 / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.002079/0.009807, allocations: 1.356 MB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.009845, allocations: 60.06 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009962, allocations: 186.3 kB / 259.6 MB, free: 15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.009988, allocations: 33.7 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.01005, allocations: 141.1 kB / 259.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.01016, allocations: 229.9 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.01024, allocations: 94.28 kB / 260.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.01033, allocations: 338.8 kB / 260.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.0104, allocations: 61.22 kB / 260.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.01047, allocations: 65.88 kB / 260.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01064, allocations: 197.8 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01064, allocations: 0 / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002299/0.01087, allocations: 253.3 kB / 261 MB, free: 13.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01088, allocations: 8 kB / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01089, allocations: 0 / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.01091, allocations: 4 kB / 261 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.01115, allocations: 119.8 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01116, allocations: 4 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.01123, allocations: 19.98 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01124, allocations: 12 kB / 261.1 MB, free: 13.42 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 9.917e-05/0.01134, allocations: 133.7 kB / 261.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01139, allocations: 43.91 kB / 261.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.01145, allocations: 55.33 kB / 261.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01145, allocations: 4 kB / 261.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01146, allocations: 0 / 261.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01146, allocations: 3.984 kB / 261.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.01231, allocations: 0.818 MB / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.01231, allocations: 4 kB / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.01255, allocations: 119.8 kB / 262.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.01256, allocations: 8 kB / 262.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.01258, allocations: 19.94 kB / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.01259, allocations: 8 kB / 262.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.01259, allocations: 16.33 kB / 262.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.01305, allocations: 0.5632 MB / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.01308, allocations: 31.8 kB / 262.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.01311, allocations: 16 kB / 263 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01322, allocations: 23.98 kB / 263 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.01327, allocations: 51.8 kB / 263 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01329, allocations: 16 kB / 263.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.01333, allocations: 46.06 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01333, allocations: 4 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.01354, allocations: 96 kB / 263.2 MB, free: 11.18 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 9.34e-05/0.01364, allocations: 104.2 kB / 263.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.01388, allocations: 265.8 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.01389, allocations: 0 / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.01402, allocations: 170.7 kB / 263.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.01433, allocations: 83.81 kB / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.01512, allocations: 0.794 MB / 264.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.01518, allocations: 110.8 kB / 264.7 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.01529, allocations: 51.2 kB / 264.8 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.01544, allocations: 127.3 kB / 264.9 MB, free: 9.383 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01545, allocations: 0 / 264.9 MB, free: 9.383 MB / 250.7 MB Notification: Performance of Templates: time 0.005941/0.02139, allocations: 4.585 MB / 269.5 MB, free: 4.848 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.5566923920996487]