Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009047/0.0009047, allocations: 179 kB / 18.04 MB, free: 3.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 1.494/1.494, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007647/0.0007647, allocations: 93 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2394, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09106/0.3305, allocations: 76.4 MB / 453.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.3309, allocations: 63.97 kB / 453.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.3463, allocations: 5.72 MB / 459.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3464, allocations: 4 kB / 459.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.3464, allocations: 8 kB / 459.2 MB, free: 14.34 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.001004/0.3474, allocations: 0.5699 MB / 459.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3475, allocations: 12.03 kB / 459.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3476, allocations: 36.56 kB / 459.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.3479, allocations: 258 kB / 460.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.348, allocations: 24.94 kB / 460.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.3481, allocations: 36.22 kB / 460.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.3486, allocations: 277.4 kB / 460.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3487, allocations: 4.125 kB / 460.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.3487, allocations: 19.94 kB / 460.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3487, allocations: 8 kB / 460.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.3493, allocations: 278.1 kB / 460.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3506, allocations: 0.8068 MB / 461.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.3512, allocations: 370.7 kB / 461.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.3516, allocations: 209.6 kB / 462.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3516, allocations: 4 kB / 462.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3516, allocations: 38.56 kB / 462.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.3517, allocations: 0 / 462.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.004323/0.356, allocations: 2.035 MB / 464.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3561, allocations: 71.89 kB / 464.2 MB, free: 9.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3563, allocations: 191 kB / 464.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3563, allocations: 33.7 kB / 464.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.3564, allocations: 148.7 kB / 464.6 MB, free: 8.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3566, allocations: 216.8 kB / 464.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.3566, allocations: 12 kB / 464.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3567, allocations: 350.7 kB / 465.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.3571, allocations: 165 kB / 465.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.3574, allocations: 177 kB / 465.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.3581, allocations: 384 kB / 465.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3581, allocations: 0 / 465.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008398/0.359, allocations: 0.4908 MB / 466.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.359, allocations: 8 kB / 466.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.359, allocations: 3.938 kB / 466.4 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.359, allocations: 0 / 466.4 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.3595, allocations: 127.9 kB / 466.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3595, allocations: 0 / 466.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3598, allocations: 27.98 kB / 466.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3598, allocations: 23.92 kB / 466.6 MB, free: 6.684 MB / 346.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.000204/0.36, allocations: 165.7 kB / 466.7 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.3601, allocations: 35.53 kB / 466.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3602, allocations: 51.33 kB / 466.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3602, allocations: 4 kB / 466.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3602, allocations: 0 / 466.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3602, allocations: 0 / 466.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.3623, allocations: 1.333 MB / 468.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3623, allocations: 4 kB / 468.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.3628, allocations: 132.4 kB / 468.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.3628, allocations: 11.94 kB / 468.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.3629, allocations: 19.94 kB / 468.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.3629, allocations: 8 kB / 468.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3629, allocations: 7.938 kB / 468.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.3643, allocations: 0.8981 MB / 469.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.3644, allocations: 116.7 kB / 469.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.3644, allocations: 20.03 kB / 469.4 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.3647, allocations: 35.98 kB / 469.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3648, allocations: 51.83 kB / 469.4 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3649, allocations: 23.98 kB / 469.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.365, allocations: 148.2 kB / 469.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 0 / 469.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.3654, allocations: 96 kB / 469.7 MB, free: 3.332 MB / 346.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.00018/0.3656, allocations: 119.1 kB / 469.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00084/0.3665, allocations: 450.6 kB / 470.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3665, allocations: 0 / 470.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.367, allocations: 264.2 kB / 470.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.3677, allocations: 80.78 kB / 470.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.3695, allocations: 1.202 MB / 471.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3699, allocations: 0.7896 MB / 472.6 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.3702, allocations: 43.27 kB / 472.6 MB, free: 288 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.3703, allocations: 43.42 kB / 472.7 MB, free: 244 kB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3703, allocations: 0 / 472.7 MB, free: 244 kB / 346.7 MB Notification: Performance of Templates: time 0.00864/0.3789, allocations: 3.707 MB / 476.4 MB, free: 12.55 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches