Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007236/0.007236, allocations: 143.1 kB / 24.89 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9247/0.9247, allocations: 173.4 MB / 201.5 MB, free: 8.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.377e-05, allocations: 5.266 kB / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003405/0.003419, allocations: 2.62 MB / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.004313, allocations: 398.9 kB / 271.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.004441, allocations: 12.5 kB / 271.5 MB, free: 6.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.004576, allocations: 43.52 kB / 271.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.004744, allocations: 105.4 kB / 271.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.004994, allocations: 97.42 kB / 271.8 MB, free: 6.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.005305, allocations: 386.2 kB / 272.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005465, allocations: 86.23 kB / 272.2 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.005671, allocations: 216.2 kB / 272.4 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.005831, allocations: 123.7 kB / 272.5 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.005871, allocations: 28.5 kB / 272.6 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.00591, allocations: 36 kB / 272.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.005958, allocations: 63.75 kB / 272.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.006055, allocations: 123.7 kB / 272.8 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.006311, allocations: 255 kB / 273 MB, free: 5.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006312, allocations: 0 / 273 MB, free: 5.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.006313, allocations: 0 / 273 MB, free: 5.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.006318, allocations: 4 kB / 273 MB, free: 5.238 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.0006222/0.00694, allocations: 0.5156 MB / 273.6 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.006972, allocations: 8.031 kB / 273.6 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.007036, allocations: 44.91 kB / 273.6 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.007282, allocations: 190.1 kB / 273.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.007312, allocations: 25.03 kB / 273.8 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.007357, allocations: 24.38 kB / 273.8 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.007676, allocations: 207.2 kB / 274.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.007697, allocations: 12.14 kB / 274.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.007721, allocations: 16.31 kB / 274.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.007732, allocations: 8.375 kB / 274.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.007929, allocations: 100.5 kB / 274.2 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008899/0.008819, allocations: 478.7 kB / 274.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.009139, allocations: 244.8 kB / 274.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.009275, allocations: 98.67 kB / 275 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.0093, allocations: 8 kB / 275 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.009326, allocations: 38.56 kB / 275 MB, free: 3.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.009328, allocations: 0 / 275 MB, free: 3.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.002232/0.01156, allocations: 1.367 MB / 276.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01159, allocations: 60.06 kB / 276.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.0117, allocations: 184.1 kB / 276.6 MB, free: 1.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01172, allocations: 33.7 kB / 276.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.01178, allocations: 137.1 kB / 276.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.0119, allocations: 229.9 kB / 277 MB, free: 1.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01201, allocations: 94.28 kB / 277.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.01211, allocations: 342.8 kB / 277.5 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.01219, allocations: 61.28 kB / 277.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.01228, allocations: 65.88 kB / 277.6 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.01251, allocations: 197.8 kB / 277.8 MB, free: 320 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01252, allocations: 0 / 277.8 MB, free: 320 kB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002931/0.01281, allocations: 253.3 kB / 278 MB, free: 60 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.01282, allocations: 4 kB / 278 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01282, allocations: 0 / 278 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01284, allocations: 4 kB / 278 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.01327, allocations: 135.8 kB / 278.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01328, allocations: 8 kB / 278.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01339, allocations: 12 kB / 278.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.01342, allocations: 15.98 kB / 278.2 MB, free: 15.88 MB / 266.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.0001178/0.01353, allocations: 137.7 kB / 278.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.0136, allocations: 43.91 kB / 278.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.01368, allocations: 47.33 kB / 278.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.01368, allocations: 8 kB / 278.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01369, allocations: 0 / 278.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01369, allocations: 3.984 kB / 278.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.01485, allocations: 0.8211 MB / 279.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.01486, allocations: 8 kB / 279.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.0153, allocations: 135.8 kB / 279.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.01531, allocations: 8 kB / 279.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.01534, allocations: 16 kB / 279.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.01535, allocations: 4 kB / 279.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.01536, allocations: 11.94 kB / 279.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.01598, allocations: 0.5706 MB / 280 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.01601, allocations: 27.86 kB / 280 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.01605, allocations: 19.98 kB / 280.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.01622, allocations: 23.98 kB / 280.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.01629, allocations: 55.73 kB / 280.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.01631, allocations: 16 kB / 280.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.01635, allocations: 52.86 kB / 280.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01635, allocations: 0 / 280.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.01667, allocations: 96 kB / 280.3 MB, free: 13.62 MB / 266.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.872e-05/0.01677, allocations: 112.2 kB / 280.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.01709, allocations: 262 kB / 280.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.0171, allocations: 4 kB / 280.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.01728, allocations: 159.2 kB / 280.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.0177, allocations: 101.7 kB / 280.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.01867, allocations: 0.8019 MB / 281.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.034e-05/0.01876, allocations: 110.8 kB / 281.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.01893, allocations: 43.27 kB / 281.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.01917, allocations: 127.3 kB / 282 MB, free: 11.81 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01917, allocations: 0 / 282 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Templates: time 0.008354/0.02753, allocations: 4.678 MB / 286.7 MB, free: 7.238 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.580142632126808]