Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001532/0.001535, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 103.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4723, allocations: 76.35 MB / 450.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4727, allocations: 71.89 kB / 451 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02577/0.4984, allocations: 5.723 MB / 456.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4985, allocations: 0 / 456.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.4986, allocations: 8 kB / 456.7 MB, free: 14.61 MB / 346.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.001499/0.5001, allocations: 0.5737 MB / 457.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5001, allocations: 12.03 kB / 457.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.5003, allocations: 35.62 kB / 457.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.5007, allocations: 260.7 kB / 457.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.5008, allocations: 20.56 kB / 457.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.5009, allocations: 31.98 kB / 457.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.5019, allocations: 276.8 kB / 457.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.5019, allocations: 7.844 kB / 457.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.502, allocations: 12 kB / 457.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.502, allocations: 8 kB / 457.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5031, allocations: 286.1 kB / 458.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.5054, allocations: 0.8068 MB / 459 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.5066, allocations: 373.7 kB / 459.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.5067, allocations: 4 kB / 459.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5067, allocations: 38.56 kB / 459.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/0.5067, allocations: 0 / 459.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.008206/0.515, allocations: 2.039 MB / 461.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.5151, allocations: 67.86 kB / 461.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.5154, allocations: 170.2 kB / 461.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.5155, allocations: 37.7 kB / 461.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5156, allocations: 203.4 kB / 461.9 MB, free: 9.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.5159, allocations: 216.8 kB / 462.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.516, allocations: 8 kB / 462.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5161, allocations: 330.8 kB / 462.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.5168, allocations: 173 kB / 462.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.5174, allocations: 173 kB / 462.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.5181, allocations: 186.2 kB / 463 MB, free: 8.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5181, allocations: 0 / 463 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001529/0.5197, allocations: 486.8 kB / 463.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.5198, allocations: 8 kB / 463.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5198, allocations: 0 / 463.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5198, allocations: 0 / 463.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009762/0.5208, allocations: 127.9 kB / 463.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.5208, allocations: 4 kB / 463.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.5213, allocations: 31.94 kB / 463.6 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.5214, allocations: 23.92 kB / 463.6 MB, free: 7.348 MB / 346.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 () * Number of clocked 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.0002863/0.5216, allocations: 153.8 kB / 463.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5218, allocations: 35.53 kB / 463.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.5219, allocations: 51.33 kB / 463.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.522, allocations: 8 kB / 463.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.522, allocations: 0 / 463.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.522, allocations: 0 / 463.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.5255, allocations: 1.333 MB / 465.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.5255, allocations: 8 kB / 465.2 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5266, allocations: 127.8 kB / 465.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.5266, allocations: 8.562 kB / 465.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.5267, allocations: 23.95 kB / 465.4 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.5267, allocations: 11.94 kB / 465.4 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5267, allocations: 4 kB / 465.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.5293, allocations: 1.112 MB / 466.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.5295, allocations: 108.8 kB / 466.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.5296, allocations: 23.89 kB / 466.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.53, allocations: 31.98 kB / 466.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5302, allocations: 55.83 kB / 466.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.5302, allocations: 20 kB / 466.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.5304, allocations: 144.2 kB / 466.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5305, allocations: 3.938 kB / 466.9 MB, free: 3.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005991/0.5311, allocations: 100 kB / 467 MB, free: 3.676 MB / 346.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 (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.0002367/0.5313, allocations: 127.1 kB / 467.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.5328, allocations: 450.7 kB / 467.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5328, allocations: 0 / 467.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.5337, allocations: 260.8 kB / 467.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.5345, allocations: 67.95 kB / 467.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.5375, allocations: 1.222 MB / 469.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.538, allocations: 0.8013 MB / 469.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5383, allocations: 47.42 kB / 469.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5383, allocations: 0 / 469.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of Templates: time 0.01218/0.5505, allocations: 4.393 MB / 474.3 MB, free: 12.21 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches