Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.Translational.AllComponents") 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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009961/0.0009962, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008465, allocations: 91.81 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1757/0.1757, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.845e-05, allocations: 224 / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.5062, allocations: 91.17 MB / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.5065, allocations: 63.97 kB / 0.5908 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03202/0.5385, allocations: 11.8 MB / 0.6023 GB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5386, allocations: 0 / 0.6023 GB, free: 2.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.5386, allocations: 15.98 kB / 0.6023 GB, free: 2.23 MB / 410.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.001418/0.5401, allocations: 0.83 MB / 0.6031 GB, free: 1.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5401, allocations: 12.03 kB / 0.6031 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.5402, allocations: 83.02 kB / 0.6032 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.5407, allocations: 363.3 kB / 0.6036 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.5407, allocations: 41.31 kB / 0.6036 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5408, allocations: 75.89 kB / 0.6037 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.5418, allocations: 0.5683 MB / 0.6042 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.5418, allocations: 7.906 kB / 0.6042 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.5419, allocations: 24 kB / 0.6043 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5419, allocations: 16 kB / 0.6043 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.5426, allocations: 454.9 kB / 0.6047 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.5455, allocations: 2.201 MB / 0.6069 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.5465, allocations: 0.6372 MB / 0.6075 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.547, allocations: 306.8 kB / 0.6078 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.5471, allocations: 97.53 kB / 0.6079 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5471, allocations: 46.94 kB / 0.6079 GB, free: 12.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.355e-06/0.5472, allocations: 0 / 0.6079 GB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.006182/0.5533, allocations: 4.098 MB / 0.6119 GB, free: 7.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5535, allocations: 230.1 kB / 0.6121 GB, free: 7.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.5538, allocations: 315.1 kB / 0.6124 GB, free: 7.113 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.5539, allocations: 45.7 kB / 0.6125 GB, free: 7.062 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.554, allocations: 262.1 kB / 0.6127 GB, free: 6.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.5543, allocations: 410.1 kB / 0.6131 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.5543, allocations: 24 kB / 0.6131 GB, free: 6.371 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5545, allocations: 378.8 kB / 0.6135 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.5549, allocations: 266.6 kB / 0.6138 GB, free: 5.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.5555, allocations: 465.2 kB / 0.6142 GB, free: 5.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.556, allocations: 353 kB / 0.6145 GB, free: 4.867 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.556, allocations: 4 kB / 0.6145 GB, free: 4.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001274/0.5573, allocations: 0.9089 MB / 0.6154 GB, free: 3.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5573, allocations: 8 kB / 0.6154 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5573, allocations: 8 kB / 0.6154 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5574, allocations: 8 kB / 0.6155 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.5583, allocations: 296 kB / 0.6157 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.5584, allocations: 12 kB / 0.6158 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.5588, allocations: 60.03 kB / 0.6158 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.5589, allocations: 40 kB / 0.6158 GB, free: 3.523 MB / 426.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 () * 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.0001546/0.559, allocations: 168.7 kB / 0.616 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.5592, allocations: 87.09 kB / 0.6161 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.5596, allocations: 206.8 kB / 0.6163 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5597, allocations: 12 kB / 0.6163 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5597, allocations: 0 / 0.6163 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.5597, allocations: 11.97 kB / 0.6163 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.5627, allocations: 2.269 MB / 0.6185 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5627, allocations: 4.281 kB / 0.6185 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.5637, allocations: 263.6 kB / 0.6188 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.5637, allocations: 8 kB / 0.6188 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.5638, allocations: 31.98 kB / 0.6188 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.5638, allocations: 15.89 kB / 0.6188 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5638, allocations: 5.375 kB / 0.6188 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.5658, allocations: 1.947 MB / 0.6207 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.5661, allocations: 196.2 kB / 0.6209 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.5662, allocations: 28 kB / 0.621 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.5668, allocations: 51.97 kB / 0.621 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.5669, allocations: 88.34 kB / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.567, allocations: 35.98 kB / 0.6211 GB, free: 13.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002779/0.5673, allocations: 245.2 kB / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5673, allocations: 0 / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008027/0.5681, allocations: 196 kB / 0.6215 GB, free: 13.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * 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.0001957/0.5683, allocations: 139.1 kB / 0.6217 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.5695, allocations: 0.7532 MB / 0.6224 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5695, allocations: 0.875 kB / 0.6224 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.5701, allocations: 455.1 kB / 0.6228 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.5709, allocations: 103.8 kB / 0.6229 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.5738, allocations: 1.993 MB / 0.6249 GB, free: 9.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5743, allocations: 0.9603 MB / 0.6258 GB, free: 8.934 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.5747, allocations: 97.62 kB / 0.6259 GB, free: 8.836 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5749, allocations: 63.42 kB / 0.626 GB, free: 8.773 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5749, allocations: 0 / 0.626 GB, free: 8.773 MB / 442.7 MB Notification: Performance of Templates: time 0.01158/0.5865, allocations: 6.346 MB / 0.6322 GB, free: 2.473 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches