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.001187/0.001187, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.0008457, allocations: 110.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002391, allocations: 4 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2011, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0877/0.2889, allocations: 78.38 MB / 487.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.2891, allocations: 67.97 kB / 487.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.3038, allocations: 5.866 MB / 493.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3039, allocations: 0 / 493.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.3039, allocations: 7.938 kB / 493.7 MB, free: 6.277 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.0008697/0.3048, allocations: 0.5774 MB / 494.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3048, allocations: 8.031 kB / 494.3 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.3049, allocations: 31.62 kB / 494.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3052, allocations: 262.2 kB / 494.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3052, allocations: 20.56 kB / 494.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.3053, allocations: 35.97 kB / 494.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.3059, allocations: 276.8 kB / 494.9 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3059, allocations: 7.906 kB / 494.9 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.306, allocations: 12 kB / 494.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.306, allocations: 8 kB / 495 MB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.3065, allocations: 286 kB / 495.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.3077, allocations: 0.7952 MB / 496 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.3083, allocations: 378.5 kB / 496.4 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3083, allocations: 4 kB / 496.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3084, allocations: 46.5 kB / 496.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.3084, allocations: 0 / 496.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.003935/0.3123, allocations: 2.035 MB / 498.5 MB, free: 1.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3124, allocations: 67.91 kB / 498.5 MB, free: 1.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3125, allocations: 166.2 kB / 498.7 MB, free: 1.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3126, allocations: 33.7 kB / 498.7 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.3127, allocations: 145 kB / 498.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.3128, allocations: 216.8 kB / 499.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.3128, allocations: 12 kB / 499.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3129, allocations: 350.8 kB / 499.5 MB, free: 256 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3133, allocations: 165 kB / 499.6 MB, free: 92 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.3136, allocations: 169 kB / 499.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3139, allocations: 190.2 kB / 500 MB, free: 15.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.314, allocations: 0 / 500 MB, free: 15.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007966/0.3148, allocations: 0.4908 MB / 0.4887 GB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3148, allocations: 4 kB / 0.4887 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3148, allocations: 3.938 kB / 0.4887 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3148, allocations: 4 kB / 0.4887 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3153, allocations: 127.8 kB / 0.4889 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3153, allocations: 4 kB / 0.4889 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3155, allocations: 35.94 kB / 0.4889 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3155, allocations: 16 kB / 0.4889 GB, free: 15.05 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.0001656/0.3157, allocations: 157.8 kB / 0.4891 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3158, allocations: 31.62 kB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3159, allocations: 47.34 kB / 0.4891 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3159, allocations: 8 kB / 0.4891 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3159, allocations: 0 / 0.4891 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3159, allocations: 7.922 kB / 0.4892 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3177, allocations: 1.329 MB / 0.4904 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3177, allocations: 4 kB / 0.4905 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.3182, allocations: 128.4 kB / 0.4906 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.3183, allocations: 15.98 kB / 0.4906 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.3183, allocations: 19.95 kB / 0.4906 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.3183, allocations: 7.938 kB / 0.4906 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.3183, allocations: 8 kB / 0.4906 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.3196, allocations: 1.111 MB / 0.4917 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3197, allocations: 112.8 kB / 0.4918 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.3198, allocations: 19.95 kB / 0.4918 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.32, allocations: 32.08 kB / 0.4919 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.3201, allocations: 55.83 kB / 0.4919 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3202, allocations: 23.98 kB / 0.4919 GB, free: 11.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.3203, allocations: 136.6 kB / 0.4921 GB, free: 11.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3203, allocations: 0 / 0.4921 GB, free: 11.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.3207, allocations: 96 kB / 0.4922 GB, free: 11.39 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.0001616/0.3209, allocations: 127.1 kB / 0.4923 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.3216, allocations: 450.7 kB / 0.4927 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3216, allocations: 0 / 0.4927 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.3221, allocations: 260.7 kB / 0.493 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3225, allocations: 69.14 kB / 0.493 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3241, allocations: 1.198 MB / 0.4942 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3245, allocations: 0.8052 MB / 0.495 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.3247, allocations: 51.25 kB / 0.495 GB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.3248, allocations: 39.36 kB / 0.4951 GB, free: 8.297 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3248, allocations: 0 / 0.4951 GB, free: 8.297 MB / 378.7 MB Notification: Performance of Templates: time 0.007217/0.332, allocations: 3.65 MB / 0.4986 GB, free: 4.68 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/jenkins/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