Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002657/0.002661, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.888/3.888, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005449/0.005448, allocations: 222.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4896/0.4896, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09329, allocations: 48.7 MB / 0.6067 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.4973, allocations: 78.41 MB / 0.6833 GB, free: 34.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4976, allocations: 71.97 kB / 0.6834 GB, free: 34.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04801/0.5456, allocations: 11.33 MB / 0.6944 GB, free: 23.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5457, allocations: 0 / 0.6944 GB, free: 23.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.5457, allocations: 16 kB / 0.6944 GB, free: 23.13 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002302/0.548, allocations: 0.9146 MB / 0.6953 GB, free: 22.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5481, allocations: 8.031 kB / 0.6953 GB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.5483, allocations: 79.06 kB / 0.6954 GB, free: 22.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.5489, allocations: 372.8 kB / 0.6958 GB, free: 21.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.549, allocations: 45.31 kB / 0.6958 GB, free: 21.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5491, allocations: 67.84 kB / 0.6959 GB, free: 21.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.5508, allocations: 0.6287 MB / 0.6965 GB, free: 20.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.5509, allocations: 7.906 kB / 0.6965 GB, free: 20.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.551, allocations: 31.95 kB / 0.6965 GB, free: 20.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.551, allocations: 12 kB / 0.6965 GB, free: 20.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.5529, allocations: 0.5673 MB / 0.6971 GB, free: 20.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.5574, allocations: 2.048 MB / 0.6991 GB, free: 18.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.5591, allocations: 0.662 MB / 0.6997 GB, free: 17.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009692/0.5601, allocations: 353.7 kB / 0.7001 GB, free: 17.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.191e-05/0.5602, allocations: 16.58 kB / 0.7001 GB, free: 17.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.5603, allocations: 50.92 kB / 0.7001 GB, free: 17.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/0.5603, allocations: 0 / 0.7001 GB, free: 17.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01225/0.5725, allocations: 4.539 MB / 0.7046 GB, free: 12.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.5727, allocations: 174.7 kB / 0.7047 GB, free: 11.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.5732, allocations: 381.9 kB / 0.7051 GB, free: 11.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.5733, allocations: 41.7 kB / 0.7052 GB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5735, allocations: 265 kB / 0.7054 GB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.5738, allocations: 406 kB / 0.7058 GB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.5739, allocations: 28 kB / 0.7058 GB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5741, allocations: 382.7 kB / 0.7062 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.5751, allocations: 334.4 kB / 0.7065 GB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5763, allocations: 0.5283 MB / 0.707 GB, free: 9.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5775, allocations: 409.4 kB / 0.7074 GB, free: 9.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.5776, allocations: 0 / 0.7074 GB, free: 9.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003001/0.5806, allocations: 1.051 MB / 0.7084 GB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5807, allocations: 11.94 kB / 0.7084 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5807, allocations: 7.984 kB / 0.7085 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.5807, allocations: 12 kB / 0.7085 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.5827, allocations: 291.9 kB / 0.7087 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.5828, allocations: 12 kB / 0.7088 GB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.5837, allocations: 51.97 kB / 0.7088 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5838, allocations: 47.98 kB / 0.7089 GB, free: 7.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004772/0.5843, allocations: 239.5 kB / 0.7091 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.5846, allocations: 79.06 kB / 0.7092 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.5856, allocations: 317.8 kB / 0.7095 GB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.5857, allocations: 12 kB / 0.7095 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.5857, allocations: 0 / 0.7095 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5857, allocations: 11.97 kB / 0.7095 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.5913, allocations: 2.446 MB / 0.7119 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5914, allocations: 4 kB / 0.7119 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.5934, allocations: 267 kB / 0.7121 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.5935, allocations: 11.95 kB / 0.7121 GB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.5936, allocations: 31.98 kB / 0.7122 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.5936, allocations: 4.031 kB / 0.7122 GB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.5936, allocations: 11.94 kB / 0.7122 GB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.5975, allocations: 1.823 MB / 0.714 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.5981, allocations: 209.7 kB / 0.7142 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5983, allocations: 27.94 kB / 0.7142 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.5991, allocations: 51.98 kB / 0.7142 GB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5994, allocations: 84.38 kB / 0.7143 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.5995, allocations: 36 kB / 0.7144 GB, free: 1.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.5998, allocations: 255.1 kB / 0.7146 GB, free: 1.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5998, allocations: 0 / 0.7146 GB, free: 1.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001093/0.6009, allocations: 207.2 kB / 0.7148 GB, free: 1.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.000248/0.6012, allocations: 160.2 kB / 0.7149 GB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.6038, allocations: 0.8901 MB / 0.7158 GB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.6039, allocations: 4 kB / 0.7158 GB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6054, allocations: 0.5031 MB / 0.7163 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6072, allocations: 121.4 kB / 0.7164 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.6134, allocations: 2.676 MB / 0.719 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.6142, allocations: 0.9714 MB / 0.72 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008402/0.615, allocations: 91.2 kB / 0.7201 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.6153, allocations: 64.08 kB / 0.7201 GB, free: 11.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6154, allocations: 0 / 0.7201 GB, free: 11.91 MB / 378.7 MB Notification: Performance of Templates: time 0.02185/0.6372, allocations: 6.531 MB / 0.7265 GB, free: 5.555 MB / 378.7 MB