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.0009654/0.0009654, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.0009638/0.0009638, allocations: 170.2 kB / 25.61 MB, free: 8.594 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 1.045/1.045, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.764e-06/1.764e-06, allocations: 0 / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.554e-05, allocations: 2.312 kB / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003632/0.003658, allocations: 2.55 MB / 254 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.004504, allocations: 374.6 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.004681, allocations: 7.938 kB / 254.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.004841, allocations: 47.5 kB / 254.4 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.005047, allocations: 103.1 kB / 254.5 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.005416, allocations: 91.8 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.005832, allocations: 394.2 kB / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.00605, allocations: 71.64 kB / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.006365, allocations: 215.5 kB / 255.3 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.006554, allocations: 127.6 kB / 255.4 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.006611, allocations: 32 kB / 255.4 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.006659, allocations: 28 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.006728, allocations: 75.73 kB / 255.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.006846, allocations: 115.7 kB / 255.6 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.0072, allocations: 255 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007204, allocations: 0 / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007205, allocations: 3.938 kB / 255.9 MB, free: 2.797 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.007212, allocations: 0 / 255.9 MB, free: 2.797 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.0007989/0.008011, allocations: 0.6557 MB / 256.6 MB, free: 2.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.008053, allocations: 11.98 kB / 256.6 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.008141, allocations: 64.7 kB / 256.6 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.00839, allocations: 211.9 kB / 256.8 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.008416, allocations: 21.03 kB / 256.9 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.008459, allocations: 28.38 kB / 256.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.008778, allocations: 199.3 kB / 257.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.008795, allocations: 12.14 kB / 257.1 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.008817, allocations: 12.36 kB / 257.1 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.008827, allocations: 8.375 kB / 257.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.008999, allocations: 116.4 kB / 257.2 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.009877, allocations: 0.643 MB / 257.9 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.01019, allocations: 255.1 kB / 258.1 MB, free: 468 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01031, allocations: 107.5 kB / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.01034, allocations: 8 kB / 258.2 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.01037, allocations: 41.39 kB / 258.3 MB, free: 296 kB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.01037, allocations: 0 / 258.3 MB, free: 296 kB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.002214/0.01259, allocations: 1.275 MB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01262, allocations: 56.06 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01276, allocations: 245.5 kB / 259.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01278, allocations: 33.7 kB / 259.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.01287, allocations: 191.8 kB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.013, allocations: 230 kB / 260.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01312, allocations: 103.9 kB / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01327, allocations: 0.5195 MB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.01337, allocations: 65.25 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01347, allocations: 77.84 kB / 261 MB, free: 13.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.01372, allocations: 196.7 kB / 261.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01372, allocations: 0 / 261.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000395/0.01412, allocations: 333.1 kB / 261.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01413, allocations: 8 kB / 261.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01414, allocations: 0 / 261.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01415, allocations: 4 kB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.01448, allocations: 119.8 kB / 261.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01449, allocations: 4 kB / 261.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01459, allocations: 16 kB / 261.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01461, allocations: 8 kB / 261.7 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.0001273/0.01474, allocations: 192.4 kB / 261.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.01481, allocations: 55.75 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.01489, allocations: 43.34 kB / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.01489, allocations: 8 kB / 262 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.0149, allocations: 7.984 kB / 262 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01491, allocations: 7.922 kB / 262 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.01614, allocations: 1.047 MB / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.01615, allocations: 7.984 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.01649, allocations: 115.8 kB / 263.2 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.01649, allocations: 4 kB / 263.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.01652, allocations: 23.98 kB / 263.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.01653, allocations: 8 kB / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.01654, allocations: 7.938 kB / 263.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.01725, allocations: 0.7415 MB / 264 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.01729, allocations: 27.81 kB / 264 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.01733, allocations: 19.98 kB / 264 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.01749, allocations: 20 kB / 264 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.01756, allocations: 59.55 kB / 264.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.01759, allocations: 16 kB / 264.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.627e-05/0.01766, allocations: 164.4 kB / 264.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01767, allocations: 0 / 264.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.01803, allocations: 92 kB / 264.4 MB, free: 9.832 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.0001244/0.01816, allocations: 123.1 kB / 264.5 MB, free: 9.699 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.01851, allocations: 277.1 kB / 264.8 MB, free: 9.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01851, allocations: 0 / 264.8 MB, free: 9.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.01871, allocations: 177.2 kB / 264.9 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.01924, allocations: 88.06 kB / 265 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02037, allocations: 0.9115 MB / 265.9 MB, free: 8.148 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.02046, allocations: 114.8 kB / 266 MB, free: 8.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.0206, allocations: 43.27 kB / 266.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.02107, allocations: 154.2 kB / 266.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02107, allocations: 0 / 266.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of Templates: time 0.007998/0.02907, allocations: 4.576 MB / 270.8 MB, free: 3.305 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.847392603289336]