Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [: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 trunk/package.mo): time 0.001745/0.001745, allocations: 198.5 kB / 8.535 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 225.5 MB / 234.4 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 90.47 kB / 286.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.928e-06/1.005e-05, allocations: 4 kB / 343.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 51.48 MB / 394.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.5348, allocations: 79.1 MB / 473.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5352, allocations: 65.72 kB / 473.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02365/0.5588, allocations: 9.29 MB / 483.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.5589, allocations: 12 kB / 483.1 MB, free: 6.387 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001449/0.5604, allocations: 0.7381 MB / 483.8 MB, free: 5.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5604, allocations: 8.031 kB / 483.8 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.5607, allocations: 67.28 kB / 483.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.5612, allocations: 308.3 kB / 484.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.5612, allocations: 16 kB / 484.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.5613, allocations: 31.91 kB / 484.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006058/0.5619, allocations: 350 kB / 484.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.5625, allocations: 333.5 kB / 484.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.5625, allocations: 7.984 kB / 484.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.5625, allocations: 0 / 484.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5626, allocations: 8 kB / 484.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.5646, allocations: 1.32 MB / 486.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.565, allocations: 301.4 kB / 486.5 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.5655, allocations: 314.3 kB / 486.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.5656, allocations: 12.34 kB / 486.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5656, allocations: 43.59 kB / 486.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.103e-06/0.5656, allocations: 0 / 486.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.003357/0.569, allocations: 2.195 MB / 489.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.569, allocations: 64.34 kB / 489.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5692, allocations: 197.3 kB / 489.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.5692, allocations: 25.7 kB / 489.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.5693, allocations: 173.3 kB / 489.5 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.5695, allocations: 336.3 kB / 489.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.5695, allocations: 3.094 kB / 489.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5697, allocations: 362.1 kB / 490.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.57, allocations: 204.9 kB / 490.4 MB, free: 200 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.5703, allocations: 274.7 kB / 490.7 MB, free: 20 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.5707, allocations: 230 kB / 490.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5707, allocations: 4 kB / 490.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009556/0.5717, allocations: 0.633 MB / 491.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5717, allocations: 4 kB / 491.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5718, allocations: 1.375 kB / 491.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.5718, allocations: 8 kB / 491.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.5727, allocations: 223.5 kB / 491.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5727, allocations: 4 kB / 491.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.5731, allocations: 47.95 kB / 491.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.5732, allocations: 35.8 kB / 491.9 MB, free: 15.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0001483/0.5733, allocations: 116.7 kB / 492 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5734, allocations: 51.44 kB / 492 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.5736, allocations: 59.98 kB / 492.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5736, allocations: 12 kB / 492.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.5736, allocations: 0 / 492.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.5737, allocations: 7.891 kB / 492.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.5761, allocations: 1.743 MB / 493.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5761, allocations: 4 kB / 493.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.577, allocations: 219.3 kB / 494.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.5771, allocations: 8 kB / 494.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.5771, allocations: 15.8 kB / 494.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.5771, allocations: 11.94 kB / 494.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.5772, allocations: 9.625 kB / 494.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001891/0.579, allocations: 1.39 MB / 495.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5792, allocations: 127.9 kB / 495.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.5793, allocations: 4 kB / 495.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5797, allocations: 55.95 kB / 495.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5798, allocations: 62.55 kB / 495.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.5799, allocations: 34.42 kB / 495.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001406/0.5801, allocations: 158 kB / 495.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.5806, allocations: 120 kB / 496.1 MB, free: 11.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0002103/0.5808, allocations: 123 kB / 496.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.5818, allocations: 0.5982 MB / 496.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5818, allocations: 0 / 496.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.5824, allocations: 372.2 kB / 497.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.5831, allocations: 90.39 kB / 497.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.5855, allocations: 1.206 MB / 498.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000711/0.5862, allocations: 0.9418 MB / 499.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5862, allocations: 0 / 499.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01447/0.6007, allocations: 6.832 MB / 0.4944 GB, free: 1.699 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches