Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008122/0.0008122, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001928, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006936/0.0006936, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001622, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.974/0.974, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08511/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.905e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002531/0.00255, allocations: 2.684 MB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.003295, allocations: 0.7478 MB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.003381, allocations: 7.938 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.646e-05/0.003457, allocations: 47.52 kB / 248.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.003582, allocations: 118.9 kB / 248.3 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.003729, allocations: 95.86 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.003972, allocations: 394.1 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.004098, allocations: 90.08 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.004278, allocations: 256.2 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.004415, allocations: 123.6 kB / 249.2 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.00445, allocations: 32 kB / 249.3 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/0.004484, allocations: 28 kB / 249.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.00452, allocations: 51.81 kB / 249.4 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.00459, allocations: 99.81 kB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004784, allocations: 235.1 kB / 249.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.004793, allocations: 0 / 249.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.004794, allocations: 4 kB / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.004802, allocations: 0 / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000571/0.005373, allocations: 0.5971 MB / 250.3 MB, free: 8.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.469e-05/0.005398, allocations: 8.031 kB / 250.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.005451, allocations: 52.89 kB / 250.3 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005621, allocations: 190.2 kB / 250.5 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.005639, allocations: 21.03 kB / 250.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.005674, allocations: 36.36 kB / 250.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.005864, allocations: 207 kB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005874, allocations: 0 / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.005889, allocations: 16 kB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005894, allocations: 4 kB / 250.8 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.006004, allocations: 96.52 kB / 250.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.006566, allocations: 499 kB / 251.4 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.006761, allocations: 226.1 kB / 251.6 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.006842, allocations: 94.16 kB / 251.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.006863, allocations: 8.375 kB / 251.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.006882, allocations: 38.94 kB / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.042e-06/0.006883, allocations: 0 / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.001624/0.008507, allocations: 1.407 MB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.008534, allocations: 64.05 kB / 253.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.008632, allocations: 198.3 kB / 253.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.008652, allocations: 37.7 kB / 253.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.0087, allocations: 141.1 kB / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.008822, allocations: 229.9 kB / 253.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.008899, allocations: 102.2 kB / 253.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.00898, allocations: 354.6 kB / 254.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.009038, allocations: 53.28 kB / 254.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.009096, allocations: 61.89 kB / 254.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.009258, allocations: 201.8 kB / 254.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009259, allocations: 4 kB / 254.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002083/0.009467, allocations: 253.4 kB / 254.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.009477, allocations: 4 kB / 254.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.009481, allocations: 0 / 254.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.00949, allocations: 4 kB / 254.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.009768, allocations: 143.8 kB / 255 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.009773, allocations: 0 / 255 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.00984, allocations: 16 kB / 255 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.009853, allocations: 12 kB / 255 MB, free: 3.703 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 (71): * Single equations (assignments): 71 * 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 8.249e-05/0.009935, allocations: 141.7 kB / 255.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.009979, allocations: 47.95 kB / 255.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.01004, allocations: 51.34 kB / 255.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01004, allocations: 4 kB / 255.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01004, allocations: 0 / 255.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01005, allocations: 3.984 kB / 255.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.01078, allocations: 0.8237 MB / 256.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01078, allocations: 4 kB / 256.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.01104, allocations: 143.8 kB / 256.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.01107, allocations: 35.77 kB / 256.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.01108, allocations: 12.44 kB / 256.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.0111, allocations: 20 kB / 256.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.01111, allocations: 11.98 kB / 256.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.01111, allocations: 7.938 kB / 256.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.0115, allocations: 0.5573 MB / 256.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01152, allocations: 19.98 kB / 256.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01163, allocations: 19.94 kB / 256.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.01167, allocations: 52.3 kB / 256.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01169, allocations: 28 kB / 257 MB, free: 1.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.01173, allocations: 56.78 kB / 257 MB, free: 1.504 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01173, allocations: 0 / 257 MB, free: 1.504 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.01193, allocations: 96 kB / 257.1 MB, free: 1.41 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 (65): * Single equations (assignments): 65 * 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 7.461e-05/0.012, allocations: 112.2 kB / 257.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.01222, allocations: 267 kB / 257.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.01223, allocations: 11.98 kB / 257.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.0124, allocations: 205.8 kB / 257.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.01293, allocations: 0.8409 MB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.01414, allocations: 0.828 MB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.0142, allocations: 114.8 kB / 259.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.01431, allocations: 51.33 kB / 259.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.01448, allocations: 139.3 kB / 259.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01448, allocations: 0 / 259.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005972/0.02045, allocations: 5.107 MB / 264.8 MB, free: 9.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.479781142435968]