Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 179.9 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.327/1.327, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008671/0.0008667, allocations: 95.73 kB / 287 MB, free: 244 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.1786/0.1786, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.173e-05, allocations: 12.22 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4543, allocations: 88.65 MB / 0.5883 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4546, allocations: 71.97 kB / 0.5883 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.4652, allocations: 4.45 MB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4653, allocations: 0 / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.4653, allocations: 0 / 0.5927 GB, free: 12.17 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.0003336/0.4656, allocations: 382.3 kB / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4657, allocations: 8.031 kB / 0.5931 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.4657, allocations: 7.906 kB / 0.5931 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.4659, allocations: 199.6 kB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4659, allocations: 7.953 kB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.466, allocations: 0 / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4661, allocations: 67.34 kB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4661, allocations: 0 / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4661, allocations: 8 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4661, allocations: 0 / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.4662, allocations: 19.94 kB / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.4666, allocations: 284.8 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.4666, allocations: 42.56 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.4667, allocations: 16.86 kB / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4667, allocations: 3.938 kB / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4667, allocations: 30.56 kB / 0.5937 GB, free: 10.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4667, allocations: 0 / 0.5937 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004249/0.4672, allocations: 145.5 kB / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4672, allocations: 84.92 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.4673, allocations: 139.8 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4674, allocations: 25.7 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.4674, allocations: 92.14 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4674, allocations: 19.7 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.4674, allocations: 0 / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.4675, allocations: 318.8 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.4676, allocations: 16 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.4676, allocations: 33.7 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.4677, allocations: 12 kB / 0.5946 GB, free: 10.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4677, allocations: 0 / 0.5946 GB, free: 10.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.4678, allocations: 81.52 kB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4678, allocations: 9.25 kB / 0.5947 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4678, allocations: 0 / 0.5947 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4678, allocations: 0 / 0.5947 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.468, allocations: 24.02 kB / 0.5947 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.468, allocations: 4 kB / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.468, allocations: 15.92 kB / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4681, allocations: 11.95 kB / 0.5947 GB, free: 9.879 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 5.382e-05/0.4681, allocations: 101 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.4682, allocations: 7.906 kB / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.4683, allocations: 94.23 kB / 0.5949 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4683, allocations: 0 / 0.5949 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4684, allocations: 4 kB / 0.5949 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4684, allocations: 3.984 kB / 0.5949 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4687, allocations: 350.5 kB / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4687, allocations: 0 / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.4688, allocations: 23.92 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4688, allocations: 8 kB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4688, allocations: 4 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4688, allocations: 3.938 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4688, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.469, allocations: 179.8 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.469, allocations: 85.02 kB / 0.5955 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.469, allocations: 11.94 kB / 0.5955 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.4691, allocations: 15.98 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.4692, allocations: 11.98 kB / 0.5956 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4692, allocations: 144 / 0.5956 GB, free: 8.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.4693, allocations: 114 kB / 0.5957 GB, free: 8.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4693, allocations: 0 / 0.5957 GB, free: 8.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.4695, allocations: 28 kB / 0.5957 GB, free: 8.754 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.000889/0.4704, allocations: 406.4 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.4706, allocations: 40 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4706, allocations: 0 / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.4706, allocations: 35.91 kB / 0.5962 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.4708, allocations: 12 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.4711, allocations: 133.7 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.4713, allocations: 0.6926 MB / 0.597 GB, free: 7.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.283e-05/0.4714, allocations: 16.23 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.4714, allocations: 19.42 kB / 0.597 GB, free: 7.473 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4715, allocations: 4 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of Templates: time 0.003488/0.4749, allocations: 1.436 MB / 0.5984 GB, free: 6.039 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches