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.001412/0.001412, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001411/0.001411, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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.8936/0.8936, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.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.443e-06/1.443e-06, allocations: 0 / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.133e-05, allocations: 3.344 kB / 273.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003519/0.00354, allocations: 2.668 MB / 276.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004879, allocations: 0.7413 MB / 276.9 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.005041, allocations: 12.59 kB / 276.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.005184, allocations: 47.45 kB / 277 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.005383, allocations: 115 kB / 277.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.005804, allocations: 99.72 kB / 277.2 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.006317, allocations: 402 kB / 277.6 MB, free: 336 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.006565, allocations: 74.25 kB / 277.6 MB, free: 256 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.006937, allocations: 231.5 kB / 277.9 MB, free: 24 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.007166, allocations: 127.6 kB / 278 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.007209, allocations: 28 kB / 278 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.893e-05/0.007248, allocations: 32 kB / 278 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.007301, allocations: 75.73 kB / 278.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.007401, allocations: 123.7 kB / 278.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.007665, allocations: 259 kB / 278.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007668, allocations: 0 / 278.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007669, allocations: 0 / 278.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.007673, allocations: 0 / 278.5 MB, free: 15.39 MB / 266.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.0006427/0.008316, allocations: 0.5349 MB / 279 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.008347, allocations: 12.03 kB / 279 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.008425, allocations: 44.91 kB / 279.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.008671, allocations: 190.2 kB / 279.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.008697, allocations: 25.03 kB / 279.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.008742, allocations: 36.31 kB / 279.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.008987, allocations: 199.1 kB / 279.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.009001, allocations: 0 / 279.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.009021, allocations: 16 kB / 279.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.009031, allocations: 11.98 kB / 279.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.009184, allocations: 96.52 kB / 279.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.01034, allocations: 495 kB / 280.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.01066, allocations: 231.2 kB / 280.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.01076, allocations: 89.56 kB / 280.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.01079, allocations: 16.36 kB / 280.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.01082, allocations: 34.94 kB / 280.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.01082, allocations: 0 / 280.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002383/0.0132, allocations: 1.374 MB / 281.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.01326, allocations: 60.06 kB / 281.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.01346, allocations: 198.3 kB / 282.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.01349, allocations: 33.7 kB / 282.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.01358, allocations: 137.1 kB / 282.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.01376, allocations: 233.9 kB / 282.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01391, allocations: 98.28 kB / 282.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01405, allocations: 350.7 kB / 282.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01418, allocations: 57.28 kB / 283 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.0143, allocations: 61.88 kB / 283.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.01464, allocations: 201.8 kB / 283.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01464, allocations: 0 / 283.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002872/0.01493, allocations: 253.3 kB / 283.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01495, allocations: 8 kB / 283.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01495, allocations: 0 / 283.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01497, allocations: 0 / 283.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.01532, allocations: 139.8 kB / 283.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01533, allocations: 0 / 283.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.01542, allocations: 16 kB / 283.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01544, allocations: 12 kB / 283.7 MB, free: 9.996 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 (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 0.0001011/0.01554, allocations: 145.6 kB / 283.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.0156, allocations: 43.95 kB / 283.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.01567, allocations: 51.34 kB / 283.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01567, allocations: 4 kB / 283.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01568, allocations: 4 kB / 283.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01568, allocations: 3.984 kB / 283.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.01664, allocations: 0.8202 MB / 284.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01664, allocations: 4 kB / 284.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.01698, allocations: 127.8 kB / 284.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.01699, allocations: 8 kB / 284.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.01701, allocations: 19.98 kB / 284.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.01702, allocations: 15.88 kB / 284.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01702, allocations: 4 kB / 284.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.01749, allocations: 0.573 MB / 285.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.01753, allocations: 39.8 kB / 285.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.01756, allocations: 16 kB / 285.5 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.01771, allocations: 27.92 kB / 285.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.01777, allocations: 52.3 kB / 285.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.01779, allocations: 16 kB / 285.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.01785, allocations: 61.95 kB / 285.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01785, allocations: 3.938 kB / 285.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.01816, allocations: 96 kB / 285.8 MB, free: 7.703 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 (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 0.0001064/0.01827, allocations: 116.2 kB / 285.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.01856, allocations: 258.3 kB / 286.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.01857, allocations: 0 / 286.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.01873, allocations: 169.8 kB / 286.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.01917, allocations: 86.69 kB / 286.4 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.02013, allocations: 0.8203 MB / 287.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.02022, allocations: 114.7 kB / 287.3 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.02037, allocations: 51.34 kB / 287.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.02057, allocations: 135.3 kB / 287.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02057, allocations: 3.938 kB / 287.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Templates: time 0.006888/0.02746, allocations: 4.952 MB / 292.5 MB, free: 1.02 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6322407219558954]