Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.000987, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008335/0.0008335, allocations: 91.75 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1743/0.1743, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.045e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4638, allocations: 88.66 MB / 0.5883 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4641, allocations: 67.97 kB / 0.5883 GB, free: 0.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.4749, allocations: 4.451 MB / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.475, allocations: 0 / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.475, allocations: 0 / 0.5927 GB, free: 12.14 MB / 410.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.0003728/0.4754, allocations: 382.3 kB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4754, allocations: 8.031 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.4755, allocations: 11.84 kB / 0.5931 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.4757, allocations: 187.6 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4757, allocations: 15.94 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4757, allocations: 0 / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4759, allocations: 63.41 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4759, allocations: 3.938 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4759, allocations: 4 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4759, allocations: 0 / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.476, allocations: 23.98 kB / 0.5934 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.4763, allocations: 284.8 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.348e-05/0.4764, allocations: 38.52 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.4764, allocations: 16.86 kB / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.4765, allocations: 0 / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.4765, allocations: 30.56 kB / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.4765, allocations: 0 / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000441/0.477, allocations: 149.4 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.477, allocations: 85.11 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4771, allocations: 139.5 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.4772, allocations: 25.7 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.4772, allocations: 92.12 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.4772, allocations: 15.72 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.4773, allocations: 4 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.4774, allocations: 318.8 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.4774, allocations: 16 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.4774, allocations: 29.72 kB / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.4775, allocations: 16 kB / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4775, allocations: 0 / 0.5946 GB, free: 9.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001134/0.4776, allocations: 77.53 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4776, allocations: 8 kB / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4776, allocations: 0 / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4777, allocations: 0 / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4778, allocations: 32 kB / 0.5947 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4778, allocations: 0 / 0.5947 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.4779, allocations: 11.94 kB / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4779, allocations: 7.953 kB / 0.5947 GB, free: 9.855 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 (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.029e-05/0.478, allocations: 109 kB / 0.5948 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.478, allocations: 7.906 kB / 0.5948 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.4782, allocations: 94.22 kB / 0.5949 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4782, allocations: 4 kB / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4782, allocations: 0 / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4782, allocations: 0 / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.4785, allocations: 354.5 kB / 0.5952 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4785, allocations: 3.938 kB / 0.5952 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.4786, allocations: 31.91 kB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4786, allocations: 0 / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4787, allocations: 8 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4787, allocations: 0 / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4787, allocations: 0 / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.4788, allocations: 179.9 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.4789, allocations: 85.14 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.4789, allocations: 8 kB / 0.5955 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.479, allocations: 23.91 kB / 0.5956 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.4791, allocations: 4 kB / 0.5956 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.4791, allocations: 0 / 0.5956 GB, free: 8.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.4792, allocations: 117.9 kB / 0.5957 GB, free: 8.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4792, allocations: 0 / 0.5957 GB, free: 8.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.4794, allocations: 31.98 kB / 0.5957 GB, free: 8.715 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 (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.000841/0.4802, allocations: 403.5 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.4804, allocations: 40 kB / 0.5961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4804, allocations: 0 / 0.5961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.4804, allocations: 27.94 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.4806, allocations: 15.98 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.4809, allocations: 125.7 kB / 0.5963 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4811, allocations: 0.6965 MB / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.4812, allocations: 16.25 kB / 0.597 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.4813, allocations: 15.42 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4813, allocations: 0 / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of Templates: time 0.003453/0.4847, allocations: 1.442 MB / 0.5984 GB, free: 6.004 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches