Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.504/1.504, allocations: 227.6 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.88 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.261, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003993/0.265, allocations: 2.669 MB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2665, allocations: 0.7287 MB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2666, allocations: 11.94 kB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.2668, allocations: 51.5 kB / 413.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.2671, allocations: 107 kB / 413.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.2674, allocations: 95.83 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.268, allocations: 390.3 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.2682, allocations: 79.09 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2684, allocations: 151.5 kB / 414.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.2686, allocations: 171.2 kB / 414.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.2687, allocations: 32 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.2687, allocations: 28 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.2688, allocations: 71.77 kB / 414.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.269, allocations: 171.2 kB / 414.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.2694, allocations: 378.3 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2694, allocations: 4 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2694, allocations: 0 / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2694, allocations: 0 / 415.3 MB, free: 12.32 MB / 334.1 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.001102/0.2705, allocations: 0.635 MB / 415.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2706, allocations: 8.031 kB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.2707, allocations: 40.7 kB / 416 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.2712, allocations: 276.8 kB / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.2712, allocations: 21.03 kB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.2713, allocations: 35.89 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2718, allocations: 258.1 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2718, allocations: 4 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.2718, allocations: 12 kB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2718, allocations: 8 kB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2722, allocations: 238.4 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.2736, allocations: 0.7923 MB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.2742, allocations: 321 kB / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.2745, allocations: 157.5 kB / 418.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.2745, allocations: 8.375 kB / 418.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2746, allocations: 34.94 kB / 418.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.2746, allocations: 0 / 418.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004507/0.2791, allocations: 1.904 MB / 420 MB, free: 7.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.2791, allocations: 63.97 kB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.2795, allocations: 216.4 kB / 420.3 MB, free: 7.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.2795, allocations: 37.64 kB / 420.3 MB, free: 7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.2797, allocations: 145.2 kB / 420.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.2799, allocations: 241.9 kB / 420.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.2801, allocations: 90.34 kB / 420.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2803, allocations: 346.8 kB / 421.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2806, allocations: 145.2 kB / 421.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.2809, allocations: 149.9 kB / 421.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/0.2815, allocations: 357.5 kB / 421.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2815, allocations: 0 / 421.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007931/0.2823, allocations: 469.1 kB / 422.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2823, allocations: 4 kB / 422.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2823, allocations: 0 / 422.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.2823, allocations: 7.938 kB / 422.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.2828, allocations: 115.8 kB / 422.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.2828, allocations: 0 / 422.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.283, allocations: 19.98 kB / 422.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.2831, allocations: 20 kB / 422.4 MB, free: 4.91 MB / 334.1 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.0001945/0.2833, allocations: 161.7 kB / 422.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.2833, allocations: 35.77 kB / 422.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2835, allocations: 55.33 kB / 422.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2835, allocations: 7.938 kB / 422.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2836, allocations: 3.938 kB / 422.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2836, allocations: 3.984 kB / 422.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.2858, allocations: 1.282 MB / 423.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2858, allocations: 4 kB / 423.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.2863, allocations: 124.4 kB / 424.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.2863, allocations: 15.94 kB / 424.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.2864, allocations: 16 kB / 424.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.2864, allocations: 8 kB / 424.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.2864, allocations: 4 kB / 424.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2877, allocations: 0.8429 MB / 425 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.2878, allocations: 112.9 kB / 425.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.2879, allocations: 16 kB / 425.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2881, allocations: 23.94 kB / 425.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2882, allocations: 56.25 kB / 425.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2882, allocations: 20 kB / 425.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2884, allocations: 152.5 kB / 425.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2884, allocations: 0 / 425.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.2888, allocations: 100 kB / 425.4 MB, free: 1.676 MB / 334.1 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.0001568/0.289, allocations: 131.1 kB / 425.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.2897, allocations: 387 kB / 425.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2897, allocations: 0 / 425.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.2901, allocations: 227 kB / 426.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.2908, allocations: 104.2 kB / 426.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2927, allocations: 1.03 MB / 427.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2932, allocations: 0.7973 MB / 428.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.2934, allocations: 55.33 kB / 428.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2935, allocations: 43.42 kB / 428.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2935, allocations: 0 / 428.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Templates: time 0.009937/0.3034, allocations: 4.447 MB / 432.6 MB, free: 10.39 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches