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.0009533/0.0009533, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009408/0.0009408, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.8757/0.8757, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.234e-06/2.234e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.916e-05, allocations: 9.406 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003881/0.003921, allocations: 2.584 MB / 253.6 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.004815, allocations: 366.6 kB / 254 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.004982, allocations: 7.938 kB / 254 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.005165, allocations: 47.52 kB / 254 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.005366, allocations: 107 kB / 254.1 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.005711, allocations: 91.8 kB / 254.2 MB, free: 412 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.006101, allocations: 402.1 kB / 254.6 MB, free: 8 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.006333, allocations: 71.64 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.006653, allocations: 223.5 kB / 254.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.006862, allocations: 123.7 kB / 255 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.006918, allocations: 32 kB / 255 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.006972, allocations: 28 kB / 255.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.007042, allocations: 79.72 kB / 255.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.007168, allocations: 111.8 kB / 255.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.007523, allocations: 251.1 kB / 255.5 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.007526, allocations: 0 / 255.5 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007527, allocations: 0 / 255.5 MB, free: 15.1 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007532, allocations: 0 / 255.5 MB, free: 15.1 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009368/0.008469, allocations: 0.6519 MB / 256.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.008515, allocations: 11.98 kB / 256.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.008626, allocations: 64.64 kB / 256.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.00894, allocations: 208 kB / 256.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.008979, allocations: 29.02 kB / 256.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.009045, allocations: 32.38 kB / 256.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.009502, allocations: 219.3 kB / 256.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.009522, allocations: 4.141 kB / 256.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.009552, allocations: 12.38 kB / 256.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.009567, allocations: 8.375 kB / 256.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.009893, allocations: 151.7 kB / 256.9 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01104, allocations: 0.6698 MB / 257.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.01151, allocations: 281.8 kB / 257.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.01173, allocations: 119.6 kB / 257.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.01177, allocations: 8 kB / 258 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.0118, allocations: 41.39 kB / 258 MB, free: 12.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/0.0118, allocations: 0 / 258 MB, free: 12.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.002212/0.01401, allocations: 1.411 MB / 259.4 MB, free: 11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.01406, allocations: 71.98 kB / 259.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01423, allocations: 237.6 kB / 259.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01426, allocations: 33.7 kB / 259.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.01436, allocations: 199.8 kB / 259.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.01448, allocations: 226 kB / 260.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.0146, allocations: 99.98 kB / 260.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01474, allocations: 0.5079 MB / 260.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01487, allocations: 89.25 kB / 260.8 MB, free: 9.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01499, allocations: 93.84 kB / 260.9 MB, free: 9.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.01529, allocations: 240.8 kB / 261.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01529, allocations: 3.938 kB / 261.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004083/0.0157, allocations: 377.1 kB / 261.5 MB, free: 8.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01572, allocations: 4 kB / 261.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01572, allocations: 0 / 261.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01574, allocations: 4 kB / 261.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.01601, allocations: 115.9 kB / 261.7 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01601, allocations: 0 / 261.7 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.0161, allocations: 20 kB / 261.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01612, allocations: 19.98 kB / 261.7 MB, free: 8.625 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.000107/0.01623, allocations: 184.4 kB / 261.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.01629, allocations: 63.77 kB / 261.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.01635, allocations: 47.33 kB / 262 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01636, allocations: 4 kB / 262 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.01636, allocations: 0 / 262 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.01637, allocations: 4 kB / 262 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.01754, allocations: 1.116 MB / 263.1 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.01755, allocations: 7.938 kB / 263.1 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.01782, allocations: 119.8 kB / 263.2 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.01782, allocations: 4 kB / 263.2 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.01785, allocations: 16 kB / 263.3 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.01785, allocations: 16.45 kB / 263.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01786, allocations: 8 kB / 263.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.01855, allocations: 0.7772 MB / 264.1 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.01858, allocations: 39.8 kB / 264.1 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.01861, allocations: 16 kB / 264.1 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.01873, allocations: 19.98 kB / 264.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.0188, allocations: 55.55 kB / 264.2 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.01882, allocations: 20 kB / 264.2 MB, free: 5.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.566e-05/0.01889, allocations: 176.4 kB / 264.4 MB, free: 5.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01889, allocations: 0 / 264.4 MB, free: 5.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.01916, allocations: 92 kB / 264.5 MB, free: 5.629 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.0001072/0.01927, allocations: 119.1 kB / 264.6 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.01966, allocations: 316.9 kB / 264.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.01967, allocations: 4 kB / 264.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.01986, allocations: 192.9 kB / 265.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.0203, allocations: 94.78 kB / 265.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.02131, allocations: 0.9081 MB / 266.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.02138, allocations: 106.8 kB / 266.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.02149, allocations: 43.27 kB / 266.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.02157, allocations: 40.48 kB / 266.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02157, allocations: 0 / 266.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of Templates: time 0.006415/0.02799, allocations: 4.182 MB / 270.5 MB, free: 15.55 MB / 266.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.868102809879929]