Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 169.7 kB / 8.74 MB, free: 348 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.481/1.481, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.001/0.001001, allocations: 89.92 kB / 281.6 MB, free: 5.324 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.2126/0.2126, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.494e-05, allocations: 8 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 61.9 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.5401, allocations: 88 MB / 0.5806 GB, free: 8.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.5403, allocations: 71.97 kB / 0.5807 GB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.5511, allocations: 4.32 MB / 0.5849 GB, free: 4.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5511, allocations: 0 / 0.5849 GB, free: 4.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5512, allocations: 4 kB / 0.5849 GB, free: 4.164 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.0003821/0.5515, allocations: 374.4 kB / 0.5852 GB, free: 3.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5516, allocations: 15.98 kB / 0.5853 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.5516, allocations: 7.906 kB / 0.5853 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.5519, allocations: 197.2 kB / 0.5855 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5519, allocations: 7.953 kB / 0.5855 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.5519, allocations: 4 kB / 0.5855 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.398e-05/0.552, allocations: 16 kB / 0.5855 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.5521, allocations: 55.41 kB / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5521, allocations: 0 / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.5521, allocations: 0 / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5521, allocations: 0 / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.5525, allocations: 277.2 kB / 0.5858 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/0.5525, allocations: 26.58 kB / 0.5858 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.5526, allocations: 16.86 kB / 0.5858 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5526, allocations: 96 / 0.5858 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5526, allocations: 34.55 kB / 0.5859 GB, free: 3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.5526, allocations: 7.984 kB / 0.5859 GB, free: 2.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004673/0.5531, allocations: 137.3 kB / 0.586 GB, free: 2.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.5532, allocations: 77.11 kB / 0.5861 GB, free: 2.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.5534, allocations: 129.2 kB / 0.5862 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5534, allocations: 25.7 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.5535, allocations: 92.12 kB / 0.5863 GB, free: 2.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.5535, allocations: 19.72 kB / 0.5863 GB, free: 2.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5535, allocations: 0 / 0.5863 GB, free: 2.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5537, allocations: 326.8 kB / 0.5867 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.5537, allocations: 12 kB / 0.5867 GB, free: 2.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.5537, allocations: 30.41 kB / 0.5867 GB, free: 2.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.5538, allocations: 15.98 kB / 0.5867 GB, free: 2.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5538, allocations: 0 / 0.5867 GB, free: 2.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001173/0.5539, allocations: 69.61 kB / 0.5868 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5539, allocations: 12.02 kB / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.554, allocations: 0 / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.554, allocations: 0 / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5541, allocations: 23.98 kB / 0.5868 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5541, allocations: 4.25 kB / 0.5868 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.5542, allocations: 19.92 kB / 0.5868 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.5542, allocations: 0 / 0.5868 GB, free: 1.953 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 () * 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 6.58e-05/0.5543, allocations: 115.1 kB / 0.5869 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.5543, allocations: 7.906 kB / 0.587 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.5545, allocations: 90.27 kB / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5545, allocations: 0 / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5545, allocations: 0 / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5545, allocations: 0 / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.5548, allocations: 331 kB / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5548, allocations: 4 kB / 0.5874 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.5549, allocations: 23.98 kB / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5549, allocations: 0 / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.555, allocations: 0 / 0.5874 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.555, allocations: 7.984 kB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.555, allocations: 0 / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.5551, allocations: 163.4 kB / 0.5875 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.5552, allocations: 89.02 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.5552, allocations: 7.922 kB / 0.5876 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.5553, allocations: 16 kB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.5553, allocations: 7.984 kB / 0.5877 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5554, allocations: 4 kB / 0.5877 GB, free: 1.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.5554, allocations: 109.2 kB / 0.5878 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5554, allocations: 0 / 0.5878 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.5557, allocations: 32 kB / 0.5878 GB, free: 0.875 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 () * 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.0008032/0.5565, allocations: 378.5 kB / 0.5882 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.5566, allocations: 39.98 kB / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5566, allocations: 0 / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.5567, allocations: 24.09 kB / 0.5882 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.5569, allocations: 20.08 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.5572, allocations: 120.3 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5575, allocations: 0.7002 MB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.5576, allocations: 7.953 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.5577, allocations: 19.42 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5577, allocations: 0 / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of Templates: time 0.003595/0.5613, allocations: 1.376 MB / 0.5904 GB, free: 14.23 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches