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.00138/0.00138, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.4/1.4, allocations: 223.2 MB / 240.3 MB, free: 11.84 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.000959/0.0009588, allocations: 96.91 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 7.938 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3665, allocations: 77.58 MB / 479.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3667, allocations: 63.97 kB / 479.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0159/0.3826, allocations: 5.873 MB / 485 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3827, allocations: 7.938 kB / 485 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.3827, allocations: 4 kB / 485 MB, free: 12.95 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.0009325/0.3837, allocations: 0.5735 MB / 485.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3837, allocations: 8.031 kB / 485.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.3838, allocations: 31.62 kB / 485.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3841, allocations: 250.5 kB / 485.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.3842, allocations: 24.56 kB / 485.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.3842, allocations: 31.98 kB / 485.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.3848, allocations: 280.8 kB / 486.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3848, allocations: 7.844 kB / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.3849, allocations: 16 kB / 486.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3849, allocations: 8 kB / 486.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.3855, allocations: 282.1 kB / 486.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.3868, allocations: 0.7991 MB / 487.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.3874, allocations: 377.3 kB / 487.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3874, allocations: 4 kB / 487.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3875, allocations: 38.56 kB / 487.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.3875, allocations: 4 kB / 487.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.004358/0.3918, allocations: 2.043 MB / 489.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3919, allocations: 55.97 kB / 489.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3922, allocations: 178 kB / 490 MB, free: 7.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.3922, allocations: 33.7 kB / 490 MB, free: 7.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.3923, allocations: 145.1 kB / 490.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3924, allocations: 220.7 kB / 490.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.3925, allocations: 12 kB / 490.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3926, allocations: 346.8 kB / 490.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3929, allocations: 161 kB / 490.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.3933, allocations: 180.9 kB / 491.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3936, allocations: 190.1 kB / 491.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3936, allocations: 0 / 491.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008169/0.3944, allocations: 498.7 kB / 491.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3945, allocations: 4 kB / 491.7 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3945, allocations: 4 kB / 491.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3945, allocations: 8 kB / 491.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.395, allocations: 123.8 kB / 491.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.395, allocations: 4 kB / 491.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3952, allocations: 27.98 kB / 491.9 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3953, allocations: 23.98 kB / 491.9 MB, free: 5.742 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.0001792/0.3955, allocations: 165.7 kB / 492.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.3956, allocations: 35.61 kB / 492.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3957, allocations: 43.34 kB / 492.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3957, allocations: 11.94 kB / 492.2 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3957, allocations: 0 / 492.2 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3957, allocations: 3.984 kB / 492.2 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.3978, allocations: 1.325 MB / 493.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3978, allocations: 4.562 kB / 493.5 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.3983, allocations: 135.8 kB / 493.6 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.3983, allocations: 8 kB / 493.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.3984, allocations: 16 kB / 493.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3984, allocations: 7.938 kB / 493.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.3984, allocations: 8 kB / 493.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3998, allocations: 1.111 MB / 494.8 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4, allocations: 112.8 kB / 494.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.4, allocations: 16 kB / 494.9 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.4003, allocations: 31.98 kB / 495 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.4005, allocations: 55.83 kB / 495 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4005, allocations: 20 kB / 495 MB, free: 2.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4006, allocations: 140.6 kB / 495.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4006, allocations: 3.938 kB / 495.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.401, allocations: 96 kB / 495.3 MB, free: 2.078 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.0001712/0.4012, allocations: 123.1 kB / 495.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.402, allocations: 450.7 kB / 495.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4021, allocations: 0 / 495.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.4025, allocations: 260.5 kB / 496.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.4031, allocations: 70.91 kB / 496.1 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4053, allocations: 1.211 MB / 497.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4057, allocations: 0.8052 MB / 498.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.406, allocations: 43.27 kB / 498.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4061, allocations: 31.44 kB / 498.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4061, allocations: 4 kB / 498.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of Templates: time 0.007562/0.4137, allocations: 3.647 MB / 0.4901 GB, free: 11.38 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/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