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.001134/0.001134, allocations: 180.7 kB / 17.02 MB, free: 5.125 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.509/1.509, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.001047/0.001048, allocations: 96.09 kB / 271.5 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002806, allocations: 7.984 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3402, allocations: 47.56 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.4416, allocations: 76.37 MB / 452.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4419, allocations: 63.97 kB / 452.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.4578, allocations: 5.716 MB / 457.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4578, allocations: 0 / 457.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.4579, allocations: 12 kB / 458 MB, free: 14.48 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.0009621/0.4588, allocations: 0.5737 MB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4589, allocations: 8.031 kB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.459, allocations: 35.62 kB / 458.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4593, allocations: 264.7 kB / 458.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.4593, allocations: 20.56 kB / 458.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.4594, allocations: 32 kB / 458.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.4599, allocations: 276.8 kB / 459.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.46, allocations: 11.91 kB / 459.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.46, allocations: 8 kB / 459.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.46, allocations: 8 kB / 459.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.4606, allocations: 282.1 kB / 459.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4619, allocations: 0.8069 MB / 460.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.4625, allocations: 367.9 kB / 460.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4625, allocations: 8 kB / 460.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4626, allocations: 38.56 kB / 460.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.4626, allocations: 0 / 460.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.004217/0.4668, allocations: 2.046 MB / 462.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4669, allocations: 67.86 kB / 462.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.467, allocations: 170.2 kB / 463 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.4671, allocations: 41.7 kB / 463 MB, free: 9.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4672, allocations: 145 kB / 463.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.4674, allocations: 216.8 kB / 463.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.4674, allocations: 8 kB / 463.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4676, allocations: 342.8 kB / 463.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.4679, allocations: 173 kB / 463.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.4682, allocations: 173 kB / 464 MB, free: 8.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.4686, allocations: 186.2 kB / 464.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4686, allocations: 0 / 464.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008258/0.4694, allocations: 494.7 kB / 464.7 MB, free: 7.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4694, allocations: 12 kB / 464.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4695, allocations: 0 / 464.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4695, allocations: 3.984 kB / 464.7 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.47, allocations: 127.8 kB / 464.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.47, allocations: 0 / 464.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.4702, allocations: 39.92 kB / 464.9 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.4702, allocations: 16 kB / 464.9 MB, free: 7.258 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.0001604/0.4704, allocations: 157.7 kB / 465 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.4705, allocations: 35.62 kB / 465.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4706, allocations: 51.33 kB / 465.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4706, allocations: 4 kB / 465.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4706, allocations: 0 / 465.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4706, allocations: 3.984 kB / 465.1 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.4726, allocations: 1.329 MB / 466.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4727, allocations: 4 kB / 466.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.4732, allocations: 127.8 kB / 466.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.4732, allocations: 8 kB / 466.6 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.4733, allocations: 19.95 kB / 466.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.4733, allocations: 11.98 kB / 466.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4733, allocations: 7.938 kB / 466.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4748, allocations: 1.108 MB / 467.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.4749, allocations: 120.7 kB / 467.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.4749, allocations: 19.95 kB / 467.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.4752, allocations: 31.98 kB / 467.9 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.4753, allocations: 51.83 kB / 468 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4753, allocations: 20 kB / 468 MB, free: 3.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.4755, allocations: 148.2 kB / 468.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4755, allocations: 0 / 468.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.4759, allocations: 96 kB / 468.2 MB, free: 3.594 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.000175/0.4761, allocations: 131 kB / 468.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.4769, allocations: 451.1 kB / 468.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4769, allocations: 0 / 468.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.4774, allocations: 267.5 kB / 469.1 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.4779, allocations: 68.91 kB / 469.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4796, allocations: 1.193 MB / 470.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.48, allocations: 0.8013 MB / 471.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.4802, allocations: 47.25 kB / 471.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.4803, allocations: 31.44 kB / 471.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4803, allocations: 0 / 471.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of Templates: time 0.008546/0.4888, allocations: 3.658 MB / 474.8 MB, free: 12.88 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/jenkins/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