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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 176.4 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 241.4 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 108.3 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 15.92 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2308, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09092/0.3218, allocations: 77.6 MB / 480.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.322, allocations: 69.05 kB / 480.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.337, allocations: 5.869 MB / 486.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3371, allocations: 3.938 kB / 486.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.3371, allocations: 4 kB / 486.3 MB, free: 12.8 MB / 362.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.0007989/0.3379, allocations: 0.5816 MB / 486.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3379, allocations: 8.031 kB / 486.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.338, allocations: 36.56 kB / 486.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3383, allocations: 255.6 kB / 487.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.3383, allocations: 20.94 kB / 487.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.3384, allocations: 32.27 kB / 487.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.3389, allocations: 289.4 kB / 487.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3389, allocations: 192 / 487.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3389, allocations: 15.94 kB / 487.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.339, allocations: 4 kB / 487.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.3395, allocations: 286.1 kB / 487.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3407, allocations: 0.7952 MB / 488.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.3413, allocations: 387.6 kB / 489 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.3417, allocations: 204.8 kB / 489.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.3417, allocations: 4 kB / 489.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3417, allocations: 30.56 kB / 489.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.3417, allocations: 0 / 489.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.003939/0.3457, allocations: 2.034 MB / 491.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3457, allocations: 55.97 kB / 491.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3459, allocations: 202.8 kB / 491.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.346, allocations: 37.7 kB / 491.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.346, allocations: 141 kB / 491.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.3462, allocations: 220.8 kB / 491.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.3462, allocations: 8 kB / 491.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3464, allocations: 354.7 kB / 492.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.3467, allocations: 169 kB / 492.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.347, allocations: 177 kB / 492.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.3477, allocations: 388 kB / 493 MB, free: 5.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3477, allocations: 0 / 493 MB, free: 5.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008293/0.3486, allocations: 498.6 kB / 493.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3486, allocations: 4 kB / 493.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3486, allocations: 0 / 493.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3486, allocations: 4 kB / 493.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.3491, allocations: 127.8 kB / 493.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3491, allocations: 7.984 kB / 493.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3493, allocations: 35.92 kB / 493.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3493, allocations: 19.94 kB / 493.6 MB, free: 5.148 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 () * 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.0001448/0.3495, allocations: 157.8 kB / 493.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.3496, allocations: 31.62 kB / 493.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.3497, allocations: 51.33 kB / 493.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3497, allocations: 8 kB / 493.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3497, allocations: 0 / 493.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.3497, allocations: 3.984 kB / 493.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.3515, allocations: 1.336 MB / 495.2 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3515, allocations: 4 kB / 495.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.352, allocations: 128.4 kB / 495.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.3521, allocations: 11.94 kB / 495.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3521, allocations: 20 kB / 495.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.3521, allocations: 11.92 kB / 495.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3521, allocations: 8 kB / 495.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3534, allocations: 0.894 MB / 496.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.3535, allocations: 112.7 kB / 496.4 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3535, allocations: 16 kB / 496.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.3538, allocations: 36.08 kB / 496.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.3539, allocations: 55.8 kB / 496.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.3539, allocations: 24 kB / 496.5 MB, free: 2.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.354, allocations: 136.6 kB / 496.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.354, allocations: 0 / 496.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.3544, allocations: 96 kB / 496.8 MB, free: 1.82 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 () * 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.0001461/0.3545, allocations: 127.1 kB / 496.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007675/0.3553, allocations: 446.7 kB / 497.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3553, allocations: 4 kB / 497.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.3558, allocations: 260.2 kB / 497.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.3564, allocations: 76.39 kB / 497.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3581, allocations: 1.205 MB / 498.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3584, allocations: 0.7974 MB / 499.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.3586, allocations: 51.25 kB / 499.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.3587, allocations: 31.44 kB / 499.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3587, allocations: 0 / 499.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of Templates: time 0.007217/0.366, allocations: 3.703 MB / 0.4916 GB, free: 11.05 MB / 378.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/jenkins1/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