Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 190.2 kB / 8.14 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 229.9 MB, free: 3.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008901, allocations: 105 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.845e-06, allocations: 4 kB / 336.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 50.4 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08233/0.2993, allocations: 76.77 MB / 463.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/0.2995, allocations: 63.84 kB / 463.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01551/0.315, allocations: 5.532 MB / 469.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.3151, allocations: 8 kB / 469.3 MB, free: 4.453 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.0008497/0.3159, allocations: 0.5614 MB / 469.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.316, allocations: 12.03 kB / 469.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3161, allocations: 39.53 kB / 469.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3164, allocations: 250.4 kB / 470.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3164, allocations: 8 kB / 470.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.3164, allocations: 16 kB / 470.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003865/0.3168, allocations: 210.6 kB / 470.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.3172, allocations: 212.8 kB / 470.6 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3173, allocations: 3.984 kB / 470.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3173, allocations: 7.844 kB / 470.6 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3173, allocations: 8 kB / 470.6 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3186, allocations: 0.7325 MB / 471.3 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3189, allocations: 190.8 kB / 471.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.3191, allocations: 161.7 kB / 471.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3192, allocations: 11.94 kB / 471.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3192, allocations: 38.47 kB / 471.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.3192, allocations: 0 / 471.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.002514/0.3217, allocations: 1.48 MB / 473.2 MB, free: 312 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3218, allocations: 56.91 kB / 473.2 MB, free: 244 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.322, allocations: 158.7 kB / 473.4 MB, free: 76 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.322, allocations: 25.7 kB / 473.4 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.3221, allocations: 128.9 kB / 473.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3222, allocations: 208.8 kB / 473.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.3222, allocations: 0 / 473.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3223, allocations: 346.8 kB / 474.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3225, allocations: 125.3 kB / 474.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3228, allocations: 136.6 kB / 474.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.323, allocations: 143.9 kB / 474.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.323, allocations: 0 / 474.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005982/0.3236, allocations: 411.5 kB / 474.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3236, allocations: 7.984 kB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3236, allocations: 0 / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3237, allocations: 4 kB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.3242, allocations: 123.9 kB / 475 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3242, allocations: 8.875 kB / 475 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.3244, allocations: 24.58 kB / 475.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3245, allocations: 23.98 kB / 475.1 MB, free: 14.37 MB / 362.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 9.374e-05/0.3246, allocations: 104.9 kB / 475.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.3246, allocations: 35.53 kB / 475.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.3247, allocations: 35.34 kB / 475.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3248, allocations: 11.98 kB / 475.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3248, allocations: 4 kB / 475.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3248, allocations: 7.922 kB / 475.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3263, allocations: 1.16 MB / 476.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3263, allocations: 4 kB / 476.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.3269, allocations: 135.8 kB / 476.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3269, allocations: 8.375 kB / 476.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3269, allocations: 12 kB / 476.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3269, allocations: 4 kB / 476.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.327, allocations: 11.94 kB / 476.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009877/0.328, allocations: 0.9804 MB / 477.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.328, allocations: 112.7 kB / 477.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.3281, allocations: 4 kB / 477.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3284, allocations: 27.98 kB / 477.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.3285, allocations: 43.8 kB / 477.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3285, allocations: 23.98 kB / 477.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.325e-05/0.3286, allocations: 124.5 kB / 477.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.329, allocations: 76 kB / 478 MB, free: 11.16 MB / 362.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.0001376/0.3291, allocations: 115 kB / 478.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.3296, allocations: 363.1 kB / 478.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3297, allocations: 0 / 478.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.33, allocations: 219.4 kB / 478.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.3304, allocations: 66.89 kB / 478.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3317, allocations: 0.7937 MB / 479.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.3322, allocations: 0.8432 MB / 480.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3322, allocations: 4 kB / 480.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of Templates: time 0.007636/0.3398, allocations: 4.217 MB / 484.6 MB, free: 4.484 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches