Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009695/0.0009695, allocations: 199.8 kB / 18.11 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007334/0.0007334, allocations: 92.5 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002001/0.0001998, allocations: 7.984 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2044, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09144/0.2959, allocations: 78.31 MB / 487.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.2962, allocations: 69.59 kB / 487.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.3114, allocations: 5.868 MB / 493.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3114, allocations: 0 / 493.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.3114, allocations: 8 kB / 493.6 MB, free: 7.234 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.000892/0.3123, allocations: 0.5777 MB / 494.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3124, allocations: 12.03 kB / 494.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.3125, allocations: 32.56 kB / 494.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.3128, allocations: 251.7 kB / 494.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3128, allocations: 20.94 kB / 494.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.3129, allocations: 32.28 kB / 494.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.3134, allocations: 289.3 kB / 494.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3134, allocations: 4.188 kB / 494.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3134, allocations: 11.94 kB / 494.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3135, allocations: 8 kB / 494.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.314, allocations: 282.1 kB / 495.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3153, allocations: 0.8069 MB / 495.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.3159, allocations: 370.7 kB / 496.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.3163, allocations: 204.7 kB / 496.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3163, allocations: 11.94 kB / 496.5 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3163, allocations: 42.55 kB / 496.5 MB, free: 4.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.3163, allocations: 0 / 496.5 MB, free: 4.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.004134/0.3205, allocations: 2.021 MB / 498.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3205, allocations: 59.97 kB / 498.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3207, allocations: 206.9 kB / 498.8 MB, free: 1.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.3208, allocations: 33.7 kB / 498.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3209, allocations: 149 kB / 499 MB, free: 1.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.321, allocations: 212.8 kB / 499.2 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.321, allocations: 16 kB / 499.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3212, allocations: 346.7 kB / 499.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.3215, allocations: 169 kB / 499.7 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3218, allocations: 177 kB / 499.9 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.3225, allocations: 388 kB / 0.4886 GB, free: 272 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3225, allocations: 0 / 0.4886 GB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007993/0.3233, allocations: 494.7 kB / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3233, allocations: 4 kB / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3233, allocations: 0 / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3234, allocations: 7.938 kB / 0.489 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.3238, allocations: 131.8 kB / 0.4892 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3238, allocations: 8 kB / 0.4892 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3241, allocations: 27.98 kB / 0.4892 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3241, allocations: 15.94 kB / 0.4892 GB, free: 15.58 MB / 378.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.000167/0.3243, allocations: 157.7 kB / 0.4894 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.3243, allocations: 39.61 kB / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.624e-05/0.3244, allocations: 47.34 kB / 0.4894 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3245, allocations: 7.984 kB / 0.4895 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3245, allocations: 4 kB / 0.4895 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3245, allocations: 3.984 kB / 0.4895 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.3264, allocations: 1.34 MB / 0.4908 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3264, allocations: 4 kB / 0.4908 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.3269, allocations: 124.4 kB / 0.4909 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.327, allocations: 11.94 kB / 0.4909 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.327, allocations: 23.98 kB / 0.4909 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.327, allocations: 8 kB / 0.4909 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.327, allocations: 7.938 kB / 0.4909 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3283, allocations: 0.8902 MB / 0.4918 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3284, allocations: 116.7 kB / 0.4919 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.3285, allocations: 16 kB / 0.4919 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3288, allocations: 35.98 kB / 0.492 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.3289, allocations: 55.81 kB / 0.492 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.3289, allocations: 20 kB / 0.492 GB, free: 12.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.329, allocations: 140.6 kB / 0.4922 GB, free: 12.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 0.4922 GB, free: 12.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.3294, allocations: 100 kB / 0.4923 GB, free: 12.23 MB / 378.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.0001789/0.3296, allocations: 127 kB / 0.4924 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008304/0.3305, allocations: 446.7 kB / 0.4928 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3305, allocations: 3.938 kB / 0.4928 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3309, allocations: 260.6 kB / 0.4931 GB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.3317, allocations: 74.98 kB / 0.4931 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3336, allocations: 1.209 MB / 0.4943 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.334, allocations: 0.7935 MB / 0.4951 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000222/0.3343, allocations: 43.27 kB / 0.4951 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.3344, allocations: 31.44 kB / 0.4952 GB, free: 9.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3344, allocations: 4 kB / 0.4952 GB, free: 9.141 MB / 378.7 MB Notification: Performance of Templates: time 0.008592/0.343, allocations: 3.708 MB / 0.4988 GB, free: 5.477 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches