Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 181.1 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.95 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5259/0.5259, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005036, allocations: 15.98 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6327, allocations: 87.22 MB / 0.5639 GB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.633, allocations: 75.94 kB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.6521, allocations: 4.357 MB / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6521, allocations: 0 / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.6522, allocations: 4 kB / 0.5682 GB, free: 11.08 MB / 394.7 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.0006141/0.6528, allocations: 422.4 kB / 0.5686 GB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6529, allocations: 8.562 kB / 0.5686 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.6529, allocations: 11.34 kB / 0.5686 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.6532, allocations: 203.4 kB / 0.5688 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.6533, allocations: 8 kB / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.6533, allocations: 0 / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.6536, allocations: 66.31 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6536, allocations: 0.6562 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6536, allocations: 1.031 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6536, allocations: 4 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.6539, allocations: 51.91 kB / 0.569 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.6545, allocations: 320.7 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.6547, allocations: 50.55 kB / 0.5693 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.6548, allocations: 11.2 kB / 0.5693 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6548, allocations: 38.5 kB / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/0.6548, allocations: 0 / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001293/0.6561, allocations: 265.4 kB / 0.5696 GB, free: 9.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.6562, allocations: 55.48 kB / 0.5697 GB, free: 9.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.6565, allocations: 172.5 kB / 0.5698 GB, free: 9.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6565, allocations: 25.7 kB / 0.5699 GB, free: 9.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.6566, allocations: 186.4 kB / 0.57 GB, free: 9.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.6567, allocations: 19.66 kB / 0.5701 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.6567, allocations: 4 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6568, allocations: 310.8 kB / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.657, allocations: 47.95 kB / 0.5704 GB, free: 8.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.6573, allocations: 43.97 kB / 0.5705 GB, free: 8.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.6575, allocations: 51.97 kB / 0.5705 GB, free: 8.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6575, allocations: 0 / 0.5705 GB, free: 8.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000534/0.6581, allocations: 129.6 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.6582, allocations: 4 kB / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6582, allocations: 7.969 kB / 0.5706 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6582, allocations: 11.89 kB / 0.5706 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.6584, allocations: 23.98 kB / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6584, allocations: 0.7812 kB / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.6586, allocations: 11.98 kB / 0.5707 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6586, allocations: 8.75 kB / 0.5707 GB, free: 8.367 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001451/0.6588, allocations: 121.8 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.6588, allocations: 15.89 kB / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.6595, allocations: 162.6 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6595, allocations: 3.984 kB / 0.571 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6595, allocations: 3.953 kB / 0.571 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6595, allocations: 0 / 0.571 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.6605, allocations: 438.4 kB / 0.5714 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6605, allocations: 4 kB / 0.5714 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.6607, allocations: 23.98 kB / 0.5714 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6607, allocations: 0 / 0.5714 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.6607, allocations: 3.953 kB / 0.5714 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6607, allocations: 11.88 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6607, allocations: 0 / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.6613, allocations: 240.1 kB / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.6614, allocations: 97 kB / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.6615, allocations: 0 / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.6616, allocations: 19.94 kB / 0.5718 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.6617, allocations: 4 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6617, allocations: 4 kB / 0.5718 GB, free: 7.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.6619, allocations: 152.8 kB / 0.5719 GB, free: 6.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.662, allocations: 0 / 0.5719 GB, free: 6.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.6623, allocations: 19.94 kB / 0.572 GB, free: 6.969 MB / 394.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001169/0.6635, allocations: 416.6 kB / 0.5724 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.6641, allocations: 107.9 kB / 0.5725 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6641, allocations: 0 / 0.5725 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.6644, allocations: 51.97 kB / 0.5725 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.6647, allocations: 27.86 kB / 0.5725 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.6654, allocations: 296.9 kB / 0.5728 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.6658, allocations: 0.7199 MB / 0.5735 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.6659, allocations: 15.44 kB / 0.5735 GB, free: 5.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6659, allocations: 0 / 0.5735 GB, free: 5.391 MB / 394.7 MB Notification: Performance of Templates: time 0.005109/0.671, allocations: 1.788 MB / 0.5753 GB, free: 3.602 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches