Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.458e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.4962, allocations: 75.84 MB / 438.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4964, allocations: 65.97 kB / 439 MB, free: 3.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.5116, allocations: 5.668 MB / 444.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5116, allocations: 3.938 kB / 444.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.5117, allocations: 8 kB / 444.7 MB, free: 15.05 MB / 330.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.00086/0.5125, allocations: 0.5548 MB / 445.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5126, allocations: 11.97 kB / 445.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.5127, allocations: 35.53 kB / 445.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.513, allocations: 247.7 kB / 445.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.513, allocations: 8 kB / 445.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.5131, allocations: 16 kB / 445.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003709/0.5134, allocations: 214.5 kB / 445.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.5138, allocations: 207.7 kB / 445.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5139, allocations: 7.906 kB / 445.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.5139, allocations: 0 / 445.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5139, allocations: 12 kB / 446 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.5151, allocations: 0.7405 MB / 446.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.5155, allocations: 317.4 kB / 447 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.5158, allocations: 159.8 kB / 447.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.5158, allocations: 8 kB / 447.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.5158, allocations: 40 kB / 447.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.5158, allocations: 0 / 447.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.002396/0.5182, allocations: 1.475 MB / 448.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5183, allocations: 63.95 kB / 448.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5185, allocations: 157.9 kB / 448.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.5185, allocations: 29.7 kB / 448.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.5186, allocations: 147.7 kB / 449.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5188, allocations: 211.4 kB / 449.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.5188, allocations: 0 / 449.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5189, allocations: 345.6 kB / 449.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.5191, allocations: 127.8 kB / 449.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5194, allocations: 131.6 kB / 449.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5196, allocations: 146.1 kB / 450 MB, free: 10.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5196, allocations: 0 / 450 MB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000562/0.5202, allocations: 404.3 kB / 450.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5202, allocations: 4 kB / 450.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5202, allocations: 4 kB / 450.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5202, allocations: 0 / 450.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.5207, allocations: 131.4 kB / 450.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.5207, allocations: 0 / 450.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.5209, allocations: 27.98 kB / 450.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.521, allocations: 15.12 kB / 450.6 MB, free: 9.973 MB / 330.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 (elastoGap1.contact,elastoGap2.contact) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.5211, allocations: 112.8 kB / 450.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.5212, allocations: 31.62 kB / 450.7 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.5213, allocations: 39.95 kB / 450.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5213, allocations: 8 kB / 450.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5213, allocations: 3.984 kB / 450.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.5213, allocations: 3.984 kB / 450.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.5229, allocations: 1.166 MB / 451.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.5229, allocations: 4 kB / 452 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.5234, allocations: 126.9 kB / 452.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.5234, allocations: 8.5 kB / 452.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.5235, allocations: 11.17 kB / 452.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.5235, allocations: 12 kB / 452.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.5235, allocations: 11.89 kB / 452.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.5246, allocations: 0.9754 MB / 453.1 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.5247, allocations: 108.7 kB / 453.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5247, allocations: 8.031 kB / 453.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.525, allocations: 19.98 kB / 453.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.5251, allocations: 55.03 kB / 453.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.5251, allocations: 19.81 kB / 453.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.5252, allocations: 126.7 kB / 453.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5252, allocations: 0 / 453.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.5256, allocations: 75.95 kB / 453.5 MB, free: 7.242 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.5258, allocations: 118.4 kB / 453.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004973/0.5263, allocations: 369.8 kB / 454 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5263, allocations: 0 / 454 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.5266, allocations: 208.6 kB / 454.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.5271, allocations: 59.88 kB / 454.2 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5284, allocations: 0.8094 MB / 455 MB, free: 5.863 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.5288, allocations: 0.7969 MB / 455.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.529, allocations: 43.27 kB / 455.9 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.5291, allocations: 43.38 kB / 455.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5291, allocations: 0 / 455.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Templates: time 0.006855/0.5359, allocations: 3.494 MB / 459.4 MB, free: 1.477 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches