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.001497/0.001497, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001572/0.001571, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.708e-05, allocations: 7.984 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09447, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4893, allocations: 76.27 MB / 445.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4896, allocations: 62.28 kB / 445.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.5162, allocations: 5.716 MB / 451.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5163, allocations: 0 / 451.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.5163, allocations: 12 kB / 451.1 MB, free: 12.04 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.001309/0.5176, allocations: 0.5518 MB / 451.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5177, allocations: 8.031 kB / 451.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.5178, allocations: 39.53 kB / 451.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.5182, allocations: 256.3 kB / 452 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.5183, allocations: 23.19 kB / 452 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.5184, allocations: 26.81 kB / 452 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.5191, allocations: 245 kB / 452.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.5191, allocations: 11.89 kB / 452.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.5192, allocations: 14.88 kB / 452.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5192, allocations: 8 kB / 452.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.5199, allocations: 225.2 kB / 452.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.5219, allocations: 0.8039 MB / 453.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.5228, allocations: 340 kB / 453.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.5232, allocations: 170.4 kB / 453.8 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.5233, allocations: 11.98 kB / 453.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5233, allocations: 41.31 kB / 453.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/0.5233, allocations: 0 / 453.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.006091/0.5294, allocations: 1.764 MB / 455.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.5295, allocations: 67.86 kB / 455.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.5298, allocations: 172.5 kB / 455.9 MB, free: 7.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.5298, allocations: 37.52 kB / 455.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.53, allocations: 194.3 kB / 456.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.5302, allocations: 227.4 kB / 456.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.5303, allocations: 11.75 kB / 456.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5304, allocations: 330.4 kB / 456.7 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.5308, allocations: 142.1 kB / 456.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.5312, allocations: 142.9 kB / 456.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.5317, allocations: 156.1 kB / 457.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5317, allocations: 0 / 457.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001074/0.5328, allocations: 426.9 kB / 457.5 MB, free: 6.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5328, allocations: 4 kB / 457.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.5328, allocations: 0 / 457.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5329, allocations: 8 kB / 457.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.5338, allocations: 123.8 kB / 457.7 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.5339, allocations: 7.984 kB / 457.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.5343, allocations: 31.94 kB / 457.7 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.5344, allocations: 16 kB / 457.7 MB, free: 6.32 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.0001736/0.5346, allocations: 136.8 kB / 457.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.5347, allocations: 31.62 kB / 457.9 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.5349, allocations: 51.33 kB / 457.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5349, allocations: 4 kB / 457.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5349, allocations: 3.938 kB / 457.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5349, allocations: 3.984 kB / 457.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.5379, allocations: 1.278 MB / 459.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5379, allocations: 4 kB / 459.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.539, allocations: 127.8 kB / 459.3 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/0.539, allocations: 11.94 kB / 459.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.5391, allocations: 19.95 kB / 459.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.5391, allocations: 8 kB / 459.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/0.5391, allocations: 7.938 kB / 459.4 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.5411, allocations: 1.018 MB / 460.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5412, allocations: 112.8 kB / 460.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.5413, allocations: 23.95 kB / 460.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.5418, allocations: 27.98 kB / 460.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.542, allocations: 55.83 kB / 460.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.542, allocations: 24.09 kB / 460.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.5422, allocations: 140.2 kB / 460.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5422, allocations: 0 / 460.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005705/0.5428, allocations: 99.98 kB / 460.9 MB, free: 2.824 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.0001972/0.543, allocations: 123.1 kB / 461 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.544, allocations: 382.9 kB / 461.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5441, allocations: 0 / 461.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.5447, allocations: 243.7 kB / 461.6 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.5455, allocations: 68.81 kB / 461.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.5477, allocations: 0.8644 MB / 462.5 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.5482, allocations: 0.8011 MB / 463.3 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.5484, allocations: 43.38 kB / 463.4 MB, free: 200 kB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5485, allocations: 4 kB / 463.4 MB, free: 196 kB / 330.7 MB Notification: Performance of Templates: time 0.01098/0.5594, allocations: 4.398 MB / 467.8 MB, free: 11.8 MB / 346.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