Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 179.4 kB / 8.363 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.088/2.088, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001125/0.001125, allocations: 89.33 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.3/0.3, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.85e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4402, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.6059, allocations: 86.54 MB / 0.5504 GB, free: 12.76 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.6062, allocations: 75.95 kB / 0.5505 GB, free: 12.69 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03161/0.6378, allocations: 8.029 MB / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6379, allocations: 0 / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.707e-05/0.638, allocations: 4 kB / 0.5583 GB, free: 4.637 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.0008367/0.6388, allocations: 0.5485 MB / 0.5589 GB, free: 4.043 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6389, allocations: 12.03 kB / 0.5589 GB, free: 4.031 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.639, allocations: 47.39 kB / 0.5589 GB, free: 3.984 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.6398, allocations: 327.3 kB / 0.5592 GB, free: 3.625 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.6398, allocations: 8.531 kB / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6398, allocations: 0 / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/0.6399, allocations: 20 kB / 0.5593 GB, free: 3.598 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.6401, allocations: 41.69 kB / 0.5593 GB, free: 3.551 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6401, allocations: 4 kB / 0.5593 GB, free: 3.547 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6401, allocations: 7.328 kB / 0.5593 GB, free: 3.543 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.6401, allocations: 3.953 kB / 0.5593 GB, free: 3.539 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.6411, allocations: 421.3 kB / 0.5597 GB, free: 3.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.6413, allocations: 38.5 kB / 0.5598 GB, free: 3.043 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.6414, allocations: 8.859 kB / 0.5598 GB, free: 3.031 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.6414, allocations: 8 kB / 0.5598 GB, free: 3.023 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.6415, allocations: 38.5 kB / 0.5598 GB, free: 2.977 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/0.6415, allocations: 0 / 0.5598 GB, free: 2.977 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006591/0.6421, allocations: 196 kB / 0.56 GB, free: 2.777 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6422, allocations: 51.41 kB / 0.56 GB, free: 2.715 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.6441, allocations: 0.7551 MB / 0.5608 GB, free: 1.953 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.6442, allocations: 25.7 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6444, allocations: 234.5 kB / 0.561 GB, free: 1.691 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.6445, allocations: 15.81 kB / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6445, allocations: 0 / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6446, allocations: 314.8 kB / 0.5613 GB, free: 1.359 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.6447, allocations: 19.94 kB / 0.5614 GB, free: 1.34 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.6447, allocations: 12 kB / 0.5614 GB, free: 1.328 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.6448, allocations: 15.98 kB / 0.5614 GB, free: 1.312 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6448, allocations: 0 / 0.5614 GB, free: 1.312 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.645, allocations: 61.59 kB / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6451, allocations: 4 kB / 0.5615 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6451, allocations: 0 / 0.5615 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6451, allocations: 7.953 kB / 0.5615 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6453, allocations: 12 kB / 0.5615 GB, free: 1.223 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6453, allocations: 3.984 kB / 0.5615 GB, free: 1.219 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6454, allocations: 8 kB / 0.5615 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6455, allocations: 0 / 0.5615 GB, free: 1.211 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 8.83e-05/0.6456, allocations: 104.9 kB / 0.5616 GB, free: 1.102 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6457, allocations: 39.53 kB / 0.5616 GB, free: 1.062 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.646, allocations: 125.7 kB / 0.5617 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.6461, allocations: 11.89 kB / 0.5618 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6461, allocations: 0 / 0.5618 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6461, allocations: 4 kB / 0.5618 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.6473, allocations: 0.5457 MB / 0.5623 GB, free: 328 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6473, allocations: 0 / 0.5623 GB, free: 328 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.6475, allocations: 12 kB / 0.5623 GB, free: 316 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6475, allocations: 4 kB / 0.5623 GB, free: 312 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6475, allocations: 3.953 kB / 0.5623 GB, free: 308 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6475, allocations: 0 / 0.5623 GB, free: 308 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6476, allocations: 4 kB / 0.5623 GB, free: 304 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.6479, allocations: 191.1 kB / 0.5625 GB, free: 96 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.6482, allocations: 160.5 kB / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.6483, allocations: 4 kB / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6485, allocations: 11.95 kB / 0.5627 GB, free: 15.9 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.6485, allocations: 15.92 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.6486, allocations: 0 / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.6497, allocations: 0.6082 MB / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6497, allocations: 0 / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.6502, allocations: 55.94 kB / 0.5633 GB, free: 15.23 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.001079/0.6513, allocations: 344 kB / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.6515, allocations: 32 kB / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6515, allocations: 0 / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.6516, allocations: 23.92 kB / 0.5637 GB, free: 14.86 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.652, allocations: 21.39 kB / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.6538, allocations: 0.7589 MB / 0.5645 GB, free: 14.05 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.6545, allocations: 0.838 MB / 0.5653 GB, free: 13.19 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.6547, allocations: 23.44 kB / 0.5653 GB, free: 13.17 MB / 411.1 MB Notification: Performance of SimCode: time 3.617e-06/0.6547, allocations: 0 / 0.5653 GB, free: 13.17 MB / 411.1 MB Notification: Performance of Templates: time 0.01292/0.6677, allocations: 4.264 MB / 0.5695 GB, free: 8.895 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches