Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, 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.222/1.222, allocations: 221.3 MB / 236 MB, free: 2.984 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.0007881/0.0007881, allocations: 87.86 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.1734/0.1734, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.943e-05, allocations: 224 / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4504, allocations: 88.94 MB / 0.5886 GB, free: 376 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4506, allocations: 67.97 kB / 0.5886 GB, free: 308 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.462, allocations: 4.688 MB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4621, allocations: 0 / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4621, allocations: 3.938 kB / 0.5932 GB, free: 11.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003577/0.4624, allocations: 394.2 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4625, allocations: 8.031 kB / 0.5936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.4625, allocations: 11.91 kB / 0.5936 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4628, allocations: 210.1 kB / 0.5938 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.4628, allocations: 7.953 kB / 0.5938 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4628, allocations: 15.84 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.4629, allocations: 57.52 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.463, allocations: 0 / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.463, allocations: 4 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.463, allocations: 0 / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.4631, allocations: 20 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.4635, allocations: 336.7 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.4637, allocations: 46.56 kB / 0.5943 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.4637, allocations: 20.98 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.4638, allocations: 3.984 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.4638, allocations: 42.59 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4638, allocations: 0 / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006125/0.4644, allocations: 241 kB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4644, allocations: 51.41 kB / 0.5946 GB, free: 10 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.4646, allocations: 165.4 kB / 0.5948 GB, free: 9.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4646, allocations: 33.7 kB / 0.5948 GB, free: 9.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.4647, allocations: 100.1 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4648, allocations: 39.44 kB / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.4648, allocations: 0 / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4649, allocations: 326.8 kB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.4649, allocations: 35.98 kB / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.465, allocations: 35.94 kB / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/0.4651, allocations: 46.92 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4651, allocations: 0 / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001735/0.4653, allocations: 133.4 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4653, allocations: 7.938 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4653, allocations: 0 / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4653, allocations: 4 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4654, allocations: 31.97 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4655, allocations: 3.953 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.4655, allocations: 19.92 kB / 0.5955 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4656, allocations: 8 kB / 0.5956 GB, free: 9.004 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.946e-05/0.4656, allocations: 105 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4657, allocations: 11.91 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.4659, allocations: 154.2 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4659, allocations: 0 / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4659, allocations: 0 / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4659, allocations: 3.953 kB / 0.5958 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.4665, allocations: 483.9 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4665, allocations: 0 / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4666, allocations: 31.97 kB / 0.5963 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4666, allocations: 0 / 0.5963 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4666, allocations: 12.33 kB / 0.5963 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4666, allocations: 0 / 0.5963 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4666, allocations: 8 kB / 0.5963 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4669, allocations: 260.5 kB / 0.5966 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.4669, allocations: 92.92 kB / 0.5967 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.467, allocations: 4 kB / 0.5967 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.4671, allocations: 19.98 kB / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.4671, allocations: 7.984 kB / 0.5967 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4671, allocations: 4 kB / 0.5967 GB, free: 7.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.4672, allocations: 148.1 kB / 0.5968 GB, free: 7.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.4672, allocations: 0 / 0.5968 GB, free: 7.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.4675, allocations: 31.94 kB / 0.5969 GB, free: 7.527 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008611/0.4684, allocations: 421 kB / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.4685, allocations: 95.84 kB / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4685, allocations: 0 / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.4686, allocations: 59.92 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4689, allocations: 15.95 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.4693, allocations: 219.7 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.4696, allocations: 0.7238 MB / 0.5984 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.683e-05/0.4697, allocations: 40.5 kB / 0.5984 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.4697, allocations: 15.44 kB / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4697, allocations: 0 / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of Templates: time 0.003925/0.4737, allocations: 1.58 MB / 0.5999 GB, free: 4.434 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches