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.001295/0.001295, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001558/0.001558, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9907/0.9907, allocations: 177.1 MB / 205 MB, free: 5.289 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.403e-06/1.403e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.036e-05, allocations: 2.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00374/0.00376, allocations: 2.661 MB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.005213, allocations: 0.7169 MB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.005379, allocations: 11.94 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.005559, allocations: 47.5 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.005794, allocations: 107 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.006117, allocations: 103.7 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.006518, allocations: 402.1 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.006714, allocations: 75.62 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.006974, allocations: 223.5 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.007185, allocations: 135.6 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.007239, allocations: 28 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.007294, allocations: 32 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.007357, allocations: 75.72 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.007484, allocations: 115.8 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.007813, allocations: 262.9 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.007816, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007818, allocations: 8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.007823, allocations: 0 / 277.9 MB, free: 12.41 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.0008966/0.00872, allocations: 0.6519 MB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.008756, allocations: 12.03 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.008837, allocations: 64.7 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.009077, allocations: 220.9 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.009106, allocations: 25.03 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.009146, allocations: 28.38 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.009424, allocations: 219.1 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.009438, allocations: 0 / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.009459, allocations: 15.94 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.009469, allocations: 8 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.009671, allocations: 143.8 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.0105, allocations: 0.6703 MB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.0108, allocations: 272.1 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01094, allocations: 117 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.01097, allocations: 8.375 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.01099, allocations: 45.77 kB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.01099, allocations: 0 / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001924/0.01292, allocations: 1.449 MB / 281.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.01296, allocations: 60.06 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01311, allocations: 245.6 kB / 282.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.01313, allocations: 37.7 kB / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.01322, allocations: 203.8 kB / 282.4 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.01335, allocations: 229.9 kB / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.01345, allocations: 96 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01357, allocations: 0.5195 MB / 283.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.01369, allocations: 85.25 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.01381, allocations: 89.86 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.0141, allocations: 248.8 kB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.0141, allocations: 3.938 kB / 283.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004004/0.0145, allocations: 381.1 kB / 284 MB, free: 6.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01452, allocations: 4 kB / 284 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01452, allocations: 0 / 284 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01454, allocations: 4 kB / 284 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.0148, allocations: 115.8 kB / 284.1 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01481, allocations: 3.938 kB / 284.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.01489, allocations: 15.98 kB / 284.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.01491, allocations: 19.94 kB / 284.2 MB, free: 5.887 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.0001082/0.01501, allocations: 192.5 kB / 284.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.01507, allocations: 55.77 kB / 284.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.01514, allocations: 51.33 kB / 284.5 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01514, allocations: 4 kB / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.01515, allocations: 0 / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01515, allocations: 3.984 kB / 284.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.0162, allocations: 1.117 MB / 285.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.0162, allocations: 4 kB / 285.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.01645, allocations: 119.8 kB / 285.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.01646, allocations: 8.562 kB / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.01648, allocations: 23.88 kB / 285.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.01649, allocations: 11.98 kB / 285.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.0165, allocations: 8 kB / 285.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.01714, allocations: 0.7791 MB / 286.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.01718, allocations: 39.8 kB / 286.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.01721, allocations: 23.92 kB / 286.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01732, allocations: 19.98 kB / 286.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.01739, allocations: 56.3 kB / 286.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.01741, allocations: 28 kB / 286.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.788e-05/0.01749, allocations: 172.5 kB / 286.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01749, allocations: 0 / 286.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.01774, allocations: 100 kB / 287 MB, free: 2.863 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.0001028/0.01784, allocations: 119.1 kB / 287.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.01821, allocations: 317.1 kB / 287.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01822, allocations: 4 kB / 287.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.0184, allocations: 187.6 kB / 287.6 MB, free: 2.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.0188, allocations: 94.75 kB / 287.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.01979, allocations: 0.9457 MB / 288.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.01986, allocations: 110.8 kB / 288.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.01998, allocations: 51.28 kB / 288.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.02006, allocations: 44.38 kB / 288.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02006, allocations: 4 kB / 288.8 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of Templates: time 0.1009/0.121, allocations: 4.672 MB / 293.5 MB, free: 25.95 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 -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.7921749111264944]