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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 181.8 kB / 8.149 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.2 MB / 213.7 MB, free: 1.902 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.001293/0.001293, allocations: 83.38 kB / 261.8 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.125e-05, allocations: 4 kB / 314.3 MB, free: 23.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.0951, allocations: 47.58 MB / 361.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3243/0.4195, allocations: 75.85 MB / 437.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.4198, allocations: 60.81 kB / 437.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03399/0.4539, allocations: 5.384 MB / 443.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.454, allocations: 11.94 kB / 443.1 MB, free: 15.37 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.001796/0.4558, allocations: 0.5622 MB / 443.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.4559, allocations: 8.031 kB / 443.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.456, allocations: 35.53 kB / 443.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.4566, allocations: 249.2 kB / 444 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.4567, allocations: 11.94 kB / 444 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4568, allocations: 16 kB / 444 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009452/0.4578, allocations: 213.8 kB / 444.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.4586, allocations: 207.7 kB / 444.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.4587, allocations: 3.906 kB / 444.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.4587, allocations: 0.75 kB / 444.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4588, allocations: 8 kB / 444.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.4616, allocations: 0.7381 MB / 445.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.4623, allocations: 175.1 kB / 445.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.4629, allocations: 166 kB / 445.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.463, allocations: 15.89 kB / 445.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.463, allocations: 43.06 kB / 445.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.719e-06/0.463, allocations: 0 / 445.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.004908/0.468, allocations: 1.474 MB / 447 MB, free: 11.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4681, allocations: 64 kB / 447.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.4683, allocations: 163 kB / 447.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.4683, allocations: 25.7 kB / 447.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4685, allocations: 191 kB / 447.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.4687, allocations: 208.5 kB / 447.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.4687, allocations: 0 / 447.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4689, allocations: 333 kB / 448 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.4693, allocations: 128.5 kB / 448.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.4697, allocations: 129.4 kB / 448.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.4701, allocations: 151.7 kB / 448.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4701, allocations: 0 / 448.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009951/0.4711, allocations: 391 kB / 448.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4711, allocations: 4 kB / 448.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4712, allocations: 0 / 448.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.4712, allocations: 4 kB / 448.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4722, allocations: 139 kB / 448.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4723, allocations: 4 kB / 448.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.4726, allocations: 19.98 kB / 449 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.4727, allocations: 18.62 kB / 449 MB, free: 10.31 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.0001199/0.4728, allocations: 38.44 kB / 449 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.473, allocations: 31.62 kB / 449 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.4732, allocations: 41.14 kB / 449.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.4732, allocations: 8 kB / 449.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4732, allocations: 0 / 449.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.4732, allocations: 7.891 kB / 449.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.4759, allocations: 1.148 MB / 450.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4759, allocations: 7.938 kB / 450.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.477, allocations: 131.1 kB / 450.4 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.4771, allocations: 8 kB / 450.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.4771, allocations: 11.98 kB / 450.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.4771, allocations: 11.84 kB / 450.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.4772, allocations: 12.09 kB / 450.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001759/0.4789, allocations: 0.9832 MB / 451.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4791, allocations: 111.7 kB / 451.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.4792, allocations: 11.89 kB / 451.5 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.4797, allocations: 23.98 kB / 451.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4798, allocations: 42.48 kB / 451.6 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.4799, allocations: 23.5 kB / 451.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001539/0.4801, allocations: 128.2 kB / 451.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.4806, allocations: 76 kB / 451.8 MB, free: 7.645 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.0002227/0.4809, allocations: 107.1 kB / 451.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.4819, allocations: 369.7 kB / 452.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4819, allocations: 0 / 452.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.4824, allocations: 221.9 kB / 452.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.4832, allocations: 53.17 kB / 452.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.4856, allocations: 0.8286 MB / 453.4 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.4863, allocations: 0.8467 MB / 454.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4863, allocations: 0 / 454.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of Templates: time 0.0112/0.4976, allocations: 4.409 MB / 458.6 MB, free: 1.008 MB / 330.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