Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 180.5 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.28/1.28, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008686/0.0008688, allocations: 83.69 kB / 287 MB, free: 260 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.1712/0.1712, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.895e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4481, allocations: 89.32 MB / 0.5889 GB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4485, allocations: 76.03 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.4648, allocations: 6.361 MB / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4648, allocations: 0 / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.4648, allocations: 0 / 0.5952 GB, free: 9.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004664/0.4653, allocations: 438 kB / 0.5956 GB, free: 9.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4654, allocations: 12.03 kB / 0.5957 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.4654, allocations: 15.8 kB / 0.5957 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4657, allocations: 234.5 kB / 0.5959 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4658, allocations: 3.953 kB / 0.5959 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4658, allocations: 11.91 kB / 0.5959 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4659, allocations: 65.67 kB / 0.596 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.466, allocations: 7.984 kB / 0.596 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.466, allocations: 4 kB / 0.596 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.466, allocations: 0 / 0.596 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.4661, allocations: 43.92 kB / 0.596 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4665, allocations: 344.7 kB / 0.5964 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.4668, allocations: 70.56 kB / 0.5964 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.4668, allocations: 28.86 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4668, allocations: 8.141 kB / 0.5965 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.467, allocations: 83.31 kB / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.467, allocations: 0 / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005566/0.4675, allocations: 264.8 kB / 0.5968 GB, free: 7.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4676, allocations: 59.36 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.4678, allocations: 229.6 kB / 0.5971 GB, free: 7.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4678, allocations: 29.64 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.4679, allocations: 120.1 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4679, allocations: 47.36 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.468, allocations: 0 / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.468, allocations: 330.8 kB / 0.5976 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.4681, allocations: 40 kB / 0.5976 GB, free: 6.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.4682, allocations: 51.27 kB / 0.5977 GB, free: 6.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.4683, allocations: 49.22 kB / 0.5977 GB, free: 6.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4683, allocations: 4 kB / 0.5977 GB, free: 6.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002368/0.4685, allocations: 161.2 kB / 0.5979 GB, free: 6.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4685, allocations: 5.25 kB / 0.5979 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4685, allocations: 4 kB / 0.5979 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4686, allocations: 0 / 0.5979 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.4687, allocations: 23.98 kB / 0.5979 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4687, allocations: 4 kB / 0.5979 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.4687, allocations: 3.953 kB / 0.5979 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4688, allocations: 12 kB / 0.5979 GB, free: 6.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.065e-05/0.4688, allocations: 120.9 kB / 0.598 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4689, allocations: 15.81 kB / 0.598 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.4692, allocations: 187.9 kB / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4692, allocations: 0 / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4692, allocations: 112 / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4692, allocations: 3.938 kB / 0.5982 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.4698, allocations: 0.5395 MB / 0.5987 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4698, allocations: 0 / 0.5987 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4699, allocations: 23.98 kB / 0.5988 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4699, allocations: 0 / 0.5988 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4699, allocations: 11.95 kB / 0.5988 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4699, allocations: 0 / 0.5988 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4699, allocations: 7.875 kB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.4702, allocations: 299 kB / 0.5991 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.4703, allocations: 100.9 kB / 0.5992 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.4703, allocations: 0 / 0.5992 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.4704, allocations: 11.98 kB / 0.5992 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.4704, allocations: 15.98 kB / 0.5992 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4704, allocations: 4 kB / 0.5992 GB, free: 5.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.4706, allocations: 184.5 kB / 0.5994 GB, free: 4.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4706, allocations: 0 / 0.5994 GB, free: 4.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.4709, allocations: 47.94 kB / 0.5994 GB, free: 4.938 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009428/0.4718, allocations: 485 kB / 0.5999 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.472, allocations: 107.2 kB / 0.6 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.472, allocations: 4.062 kB / 0.6 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.4721, allocations: 55.94 kB / 0.6 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4723, allocations: 28.11 kB / 0.6001 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.4728, allocations: 264.9 kB / 0.6003 GB, free: 4.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.473, allocations: 0.7283 MB / 0.601 GB, free: 3.352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4731, allocations: 33.19 kB / 0.6011 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.4732, allocations: 23.42 kB / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4732, allocations: 0 / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of Templates: time 0.004363/0.4775, allocations: 2.236 MB / 0.6033 GB, free: 1.074 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches