Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 171.2 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.5 MB / 230.7 MB, free: 7.598 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.001016/0.001016, allocations: 93.98 kB / 281.6 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.589e-05, allocations: 4.219 kB / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 61.9 MB / 0.4947 GB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.5959, allocations: 87.77 MB / 0.5804 GB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5963, allocations: 71.97 kB / 0.5804 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.6131, allocations: 7.793 MB / 0.5881 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.6132, allocations: 0 / 0.5881 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.6132, allocations: 4 kB / 0.5881 GB, free: 0.957 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.0005548/0.6138, allocations: 0.552 MB / 0.5886 GB, free: 368 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6138, allocations: 11.98 kB / 0.5886 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.6139, allocations: 43.44 kB / 0.5886 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.6144, allocations: 323.4 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6144, allocations: 0 / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.6144, allocations: 8 kB / 0.589 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.057e-05/0.6145, allocations: 16 kB / 0.589 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.6146, allocations: 41.69 kB / 0.589 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.6146, allocations: 3.938 kB / 0.589 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6146, allocations: 0 / 0.589 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6146, allocations: 4 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.6151, allocations: 405.2 kB / 0.5894 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6153, allocations: 38.58 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.6153, allocations: 12.86 kB / 0.5895 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.6154, allocations: 0 / 0.5895 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.6154, allocations: 34.5 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.6154, allocations: 0 / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004402/0.6158, allocations: 188.1 kB / 0.5897 GB, free: 15.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6159, allocations: 51.41 kB / 0.5897 GB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.617, allocations: 0.7473 MB / 0.5905 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.617, allocations: 25.7 kB / 0.5905 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6171, allocations: 216 kB / 0.5907 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.6172, allocations: 19.75 kB / 0.5907 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.6172, allocations: 0.8438 kB / 0.5907 GB, free: 14.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6173, allocations: 362.7 kB / 0.591 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.6173, allocations: 16 kB / 0.5911 GB, free: 13.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.6174, allocations: 8 kB / 0.5911 GB, free: 13.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.6174, allocations: 14.94 kB / 0.5911 GB, free: 13.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6174, allocations: 0 / 0.5911 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001499/0.6176, allocations: 93.14 kB / 0.5912 GB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6176, allocations: 7.984 kB / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6176, allocations: 256 / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6176, allocations: 4.078 kB / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.6177, allocations: 16 kB / 0.5912 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6177, allocations: 0 / 0.5912 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.6178, allocations: 19.97 kB / 0.5912 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6178, allocations: 0 / 0.5912 GB, free: 13.51 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 (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 6.661e-05/0.6179, allocations: 115.1 kB / 0.5913 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.618, allocations: 35.53 kB / 0.5914 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.6182, allocations: 113.4 kB / 0.5915 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6182, allocations: 0 / 0.5915 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6182, allocations: 0 / 0.5915 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6182, allocations: 4 kB / 0.5915 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.6188, allocations: 0.5417 MB / 0.592 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6188, allocations: 0 / 0.592 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.6189, allocations: 15.98 kB / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6189, allocations: 0 / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6189, allocations: 0 / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6189, allocations: 0 / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6189, allocations: 4 kB / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.6191, allocations: 191 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.6193, allocations: 164.5 kB / 0.5924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.6193, allocations: 0 / 0.5924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.6194, allocations: 7.984 kB / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.6195, allocations: 7.938 kB / 0.5924 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.6195, allocations: 0 / 0.5924 GB, free: 12.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005742/0.6201, allocations: 0.6082 MB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6201, allocations: 4 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.6204, allocations: 55.94 kB / 0.593 GB, free: 11.57 MB / 410.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 () * 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.0008308/0.6212, allocations: 343.8 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.6214, allocations: 24 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6214, allocations: 4 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.445e-05/0.6214, allocations: 23.92 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.6218, allocations: 26.03 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.623, allocations: 0.6988 MB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.6234, allocations: 0.8263 MB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.6235, allocations: 43.77 kB / 0.595 GB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.6236, allocations: 23.44 kB / 0.595 GB, free: 9.582 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6236, allocations: 0 / 0.595 GB, free: 9.582 MB / 410.7 MB Notification: Performance of Templates: time 0.005522/0.6291, allocations: 2.103 MB / 0.597 GB, free: 7.469 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches