Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 155.2 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9869/0.9869, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.241e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002635/0.002658, allocations: 2.626 MB / 276.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.003592, allocations: 0.7194 MB / 277.4 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.003712, allocations: 7.938 kB / 277.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.003846, allocations: 51.5 kB / 277.5 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.004, allocations: 109.5 kB / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.00423, allocations: 91.75 kB / 277.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.004501, allocations: 414.6 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.004657, allocations: 75.64 kB / 278.2 MB, free: 196 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.004851, allocations: 223.5 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.004999, allocations: 127.7 kB / 278.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.005039, allocations: 32 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.005071, allocations: 28 kB / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.005118, allocations: 79.67 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.005199, allocations: 115.7 kB / 278.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.005433, allocations: 271 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.005435, allocations: 0 / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005436, allocations: 0 / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005441, allocations: 0 / 279 MB, free: 15.33 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.0006313/0.006072, allocations: 0.6557 MB / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.006104, allocations: 8.031 kB / 279.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.006171, allocations: 64.64 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006389, allocations: 221 kB / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.006416, allocations: 24.97 kB / 280 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.006454, allocations: 36.33 kB / 280 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.006687, allocations: 195.1 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.006701, allocations: 0 / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.006722, allocations: 16 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006729, allocations: 4 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.006872, allocations: 116.5 kB / 280.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.007607, allocations: 0.6358 MB / 281 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.007853, allocations: 244 kB / 281.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.007948, allocations: 106 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.007975, allocations: 12.36 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.007999, allocations: 41.77 kB / 281.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.008001, allocations: 0 / 281.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001634/0.009634, allocations: 1.303 MB / 282.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.009667, allocations: 64.06 kB / 282.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.009793, allocations: 245.5 kB / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.009814, allocations: 33.7 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.009893, allocations: 203.8 kB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.01, allocations: 233.9 kB / 283.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.0101, allocations: 103.9 kB / 283.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01024, allocations: 0.5195 MB / 284.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.01032, allocations: 65.2 kB / 284.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.01039, allocations: 73.84 kB / 284.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.0106, allocations: 208.7 kB / 284.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0106, allocations: 0 / 284.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003/0.0109, allocations: 337.1 kB / 284.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01091, allocations: 4 kB / 284.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01092, allocations: 3.984 kB / 284.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01093, allocations: 4 kB / 284.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.01118, allocations: 119.8 kB / 284.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01119, allocations: 0 / 284.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.01127, allocations: 16 kB / 284.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01128, allocations: 15.98 kB / 284.9 MB, free: 9.207 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.0001155/0.0114, allocations: 188.4 kB / 285.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.01146, allocations: 59.77 kB / 285.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.955e-05/0.01153, allocations: 47.34 kB / 285.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01153, allocations: 4 kB / 285.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01153, allocations: 0 / 285.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01154, allocations: 7.984 kB / 285.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.01249, allocations: 1.055 MB / 286.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01249, allocations: 4 kB / 286.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.01274, allocations: 119.8 kB / 286.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.01275, allocations: 8 kB / 286.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.01277, allocations: 16 kB / 286.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.01277, allocations: 8.5 kB / 286.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.01278, allocations: 11.88 kB / 286.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.01334, allocations: 0.7322 MB / 287.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.01337, allocations: 39.77 kB / 287.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.0134, allocations: 19.98 kB / 287.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.01352, allocations: 16 kB / 287.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01357, allocations: 52.3 kB / 287.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01359, allocations: 20 kB / 287.3 MB, free: 6.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.864e-05/0.01366, allocations: 176.4 kB / 287.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01366, allocations: 4 kB / 287.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01392, allocations: 96 kB / 287.6 MB, free: 6.32 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.0001124/0.01403, allocations: 127.1 kB / 287.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01431, allocations: 277.1 kB / 288 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01432, allocations: 0 / 288 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.01447, allocations: 180.2 kB / 288.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.01489, allocations: 104.6 kB / 288.2 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009213/0.01581, allocations: 0.9191 MB / 289.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.214e-05/0.01588, allocations: 114.7 kB / 289.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.016, allocations: 51.28 kB / 289.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.01619, allocations: 166.1 kB / 289.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01619, allocations: 0 / 289.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of Templates: time 0.007396/0.02359, allocations: 4.978 MB / 294.5 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.921913179103285]