Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002295/0.002294, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 92.73 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2991/0.2991, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.348e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4695, allocations: 58.86 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6329, allocations: 86.51 MB / 0.5504 GB, free: 12.8 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.6333, allocations: 67.97 kB / 0.5505 GB, free: 12.73 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.6639, allocations: 7.753 MB / 0.558 GB, free: 4.969 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.664, allocations: 0 / 0.558 GB, free: 4.969 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.658e-05/0.664, allocations: 4 kB / 0.558 GB, free: 4.965 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000784/0.6648, allocations: 0.552 MB / 0.5586 GB, free: 4.367 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6649, allocations: 12.03 kB / 0.5586 GB, free: 4.355 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.665, allocations: 43.39 kB / 0.5586 GB, free: 4.312 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.6657, allocations: 331.3 kB / 0.5589 GB, free: 3.949 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.6658, allocations: 4.547 kB / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6658, allocations: 0 / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.6659, allocations: 20 kB / 0.559 GB, free: 3.926 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.6661, allocations: 41.69 kB / 0.559 GB, free: 3.879 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.6661, allocations: 4 kB / 0.559 GB, free: 3.875 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6661, allocations: 3.938 kB / 0.559 GB, free: 3.871 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6661, allocations: 7.953 kB / 0.559 GB, free: 3.863 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.6671, allocations: 417.3 kB / 0.5594 GB, free: 3.418 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.6673, allocations: 38.5 kB / 0.5594 GB, free: 3.371 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.6674, allocations: 12.86 kB / 0.5595 GB, free: 3.355 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.6674, allocations: 11.98 kB / 0.5595 GB, free: 3.344 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6675, allocations: 34.64 kB / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.769e-06/0.6675, allocations: 0 / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006521/0.6682, allocations: 191.9 kB / 0.5597 GB, free: 3.105 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6682, allocations: 51.41 kB / 0.5597 GB, free: 3.043 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.6701, allocations: 0.759 MB / 0.5605 GB, free: 2.273 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.6702, allocations: 25.7 kB / 0.5605 GB, free: 2.242 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.6704, allocations: 234.5 kB / 0.5607 GB, free: 2.012 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.6704, allocations: 11.81 kB / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6705, allocations: 0 / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.6707, allocations: 318.8 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.6707, allocations: 12 kB / 0.5611 GB, free: 1.668 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.6708, allocations: 15.94 kB / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.6709, allocations: 15.98 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6709, allocations: 0 / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.6711, allocations: 61.59 kB / 0.5611 GB, free: 1.57 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6711, allocations: 8 kB / 0.5611 GB, free: 1.562 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6711, allocations: 256 / 0.5611 GB, free: 1.562 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6711, allocations: 3.953 kB / 0.5612 GB, free: 1.559 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6713, allocations: 19.98 kB / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6713, allocations: 0 / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.6715, allocations: 8.156 kB / 0.5612 GB, free: 1.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.6715, allocations: 0 / 0.5612 GB, free: 1.531 MB / 395.1 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 (5): * Single equations (assignments): 5 * 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 9.114e-05/0.6716, allocations: 105 kB / 0.5613 GB, free: 1.422 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6718, allocations: 43.53 kB / 0.5613 GB, free: 1.379 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.6721, allocations: 121.3 kB / 0.5614 GB, free: 1.25 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6722, allocations: 7.953 kB / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6722, allocations: 0 / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6722, allocations: 0 / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6734, allocations: 0.5458 MB / 0.562 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6734, allocations: 0 / 0.562 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.6736, allocations: 23.88 kB / 0.562 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.6736, allocations: 0 / 0.562 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.6736, allocations: 7.938 kB / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6736, allocations: 0 / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6736, allocations: 4 kB / 0.562 GB, free: 0.6172 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.674, allocations: 191.1 kB / 0.5622 GB, free: 424 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.6743, allocations: 164.5 kB / 0.5624 GB, free: 240 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.6744, allocations: 8 kB / 0.5624 GB, free: 232 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.6746, allocations: 7.953 kB / 0.5624 GB, free: 224 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.6746, allocations: 11.92 kB / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.6747, allocations: 192 / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.6758, allocations: 0.6082 MB / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6758, allocations: 0 / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000499/0.6763, allocations: 55.94 kB / 0.563 GB, free: 15.55 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00105/0.6774, allocations: 341.5 kB / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.6776, allocations: 32 kB / 0.5634 GB, free: 15.21 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6776, allocations: 0 / 0.5634 GB, free: 15.21 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.6777, allocations: 19.98 kB / 0.5634 GB, free: 15.2 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.6781, allocations: 21.94 kB / 0.5634 GB, free: 15.17 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.68, allocations: 0.7628 MB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.6807, allocations: 0.8341 MB / 0.565 GB, free: 13.52 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.6809, allocations: 23.44 kB / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6809, allocations: 0 / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of Templates: time 0.01317/0.694, allocations: 4.26 MB / 0.5692 GB, free: 9.227 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches