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.001711/0.001711, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 97.72 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/2.02e-05, allocations: 0 / 343.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 51.49 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5698, allocations: 77.64 MB / 472.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5701, allocations: 62.25 kB / 472.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5851, allocations: 5.818 MB / 478.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5851, allocations: 0.6562 kB / 478.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.5852, allocations: 8 kB / 478.7 MB, free: 10.68 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.0007708/0.5859, allocations: 0.5498 MB / 479.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.586, allocations: 8.031 kB / 479.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.5861, allocations: 39.53 kB / 479.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.5863, allocations: 247.3 kB / 479.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.5864, allocations: 11.61 kB / 479.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.5864, allocations: 22.69 kB / 479.6 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003886/0.5868, allocations: 212 kB / 479.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.5872, allocations: 206 kB / 480 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.5872, allocations: 7.906 kB / 480 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.5873, allocations: 0 / 480 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.5873, allocations: 8 kB / 480 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.5885, allocations: 0.7381 MB / 480.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.5889, allocations: 324.7 kB / 481 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.5891, allocations: 156.2 kB / 481.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.5892, allocations: 4 kB / 481.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5892, allocations: 45.81 kB / 481.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.5892, allocations: 0 / 481.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.002348/0.5916, allocations: 1.481 MB / 482.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.5916, allocations: 59.97 kB / 482.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5918, allocations: 148.3 kB / 482.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5918, allocations: 25.7 kB / 483 MB, free: 6.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.5919, allocations: 148.5 kB / 483.1 MB, free: 6.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.592, allocations: 213.5 kB / 483.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.592, allocations: 0 / 483.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.5921, allocations: 344.3 kB / 483.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.5923, allocations: 128.2 kB / 483.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.5925, allocations: 133.8 kB / 483.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.5927, allocations: 143 kB / 484 MB, free: 6.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5927, allocations: 0 / 484 MB, free: 6.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005233/0.5933, allocations: 408.3 kB / 484.4 MB, free: 5.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5933, allocations: 9.719 kB / 484.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5933, allocations: 5.688 kB / 484.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.5933, allocations: 0 / 484.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.5938, allocations: 130.7 kB / 484.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5938, allocations: 0 / 484.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.594, allocations: 19.98 kB / 484.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.5941, allocations: 30.14 kB / 484.6 MB, free: 5.617 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 () * 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.0001163/0.5942, allocations: 108.9 kB / 484.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.5943, allocations: 31.62 kB / 484.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.5944, allocations: 37.09 kB / 484.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5944, allocations: 8 kB / 484.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5944, allocations: 0 / 484.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5944, allocations: 3.984 kB / 484.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.596, allocations: 1.166 MB / 486 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.596, allocations: 4 kB / 486 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.5965, allocations: 130.1 kB / 486.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.5965, allocations: 11.98 kB / 486.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.5965, allocations: 4 kB / 486.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.5965, allocations: 8 kB / 486.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.5965, allocations: 13.89 kB / 486.1 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5976, allocations: 0.9723 MB / 487.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.5977, allocations: 112.7 kB / 487.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.5977, allocations: 8.031 kB / 487.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.598, allocations: 23.98 kB / 487.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.5981, allocations: 51.09 kB / 487.3 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5981, allocations: 23.86 kB / 487.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.5982, allocations: 128.5 kB / 487.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5982, allocations: 0 / 487.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.5986, allocations: 79.95 kB / 487.5 MB, free: 2.898 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 () * 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.0002071/0.5988, allocations: 110.3 kB / 487.6 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.5994, allocations: 362 kB / 488 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5994, allocations: 0 / 488 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.5996, allocations: 217.3 kB / 488.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.6002, allocations: 62.34 kB / 488.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.6017, allocations: 0.7989 MB / 489.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.6021, allocations: 0.7969 MB / 489.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.6023, allocations: 47.25 kB / 489.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.6024, allocations: 43.23 kB / 490 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6024, allocations: 0 / 490 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of Templates: time 0.008218/0.6106, allocations: 3.497 MB / 493.5 MB, free: 13.22 MB / 362.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