Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 174.4 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.359/1.359, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.0009343/0.0009345, allocations: 88.67 kB / 281.6 MB, free: 5.277 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.209/0.209, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.429e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5403, allocations: 88 MB / 0.5806 GB, free: 8.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5406, allocations: 75.95 kB / 0.5807 GB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.5573, allocations: 8.019 MB / 0.5885 GB, free: 452 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5573, allocations: 0 / 0.5885 GB, free: 452 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.5574, allocations: 8 kB / 0.5885 GB, free: 444 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000527/0.5579, allocations: 0.5365 MB / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5579, allocations: 15.98 kB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.558, allocations: 43.44 kB / 0.5891 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.5584, allocations: 339.2 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.5585, allocations: 0 / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.5585, allocations: 0 / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.367e-05/0.5586, allocations: 16 kB / 0.5894 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.399e-05/0.5586, allocations: 45.69 kB / 0.5895 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5587, allocations: 0 / 0.5895 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.5587, allocations: 0 / 0.5895 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5587, allocations: 0 / 0.5895 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.5593, allocations: 425.3 kB / 0.5899 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.5594, allocations: 37.52 kB / 0.5899 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.5594, allocations: 16.86 kB / 0.5899 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5594, allocations: 0 / 0.5899 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.5595, allocations: 34.56 kB / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.5595, allocations: 0 / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.5596, allocations: 89.22 kB / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.5597, allocations: 51.41 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5608, allocations: 0.7551 MB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5608, allocations: 30.55 kB / 0.5909 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.5609, allocations: 208 kB / 0.5911 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.561, allocations: 15.84 kB / 0.5911 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.561, allocations: 4 kB / 0.5911 GB, free: 13.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5611, allocations: 362.7 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.5611, allocations: 8 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.5612, allocations: 12 kB / 0.5915 GB, free: 13.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.5612, allocations: 7.984 kB / 0.5915 GB, free: 13.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5612, allocations: 0 / 0.5915 GB, free: 13.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/0.5613, allocations: 97.2 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5614, allocations: 4 kB / 0.5916 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5614, allocations: 0 / 0.5916 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5614, allocations: 8.031 kB / 0.5916 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.5615, allocations: 12 kB / 0.5916 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5615, allocations: 3.984 kB / 0.5916 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.5616, allocations: 7.984 kB / 0.5916 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.5616, allocations: 0 / 0.5916 GB, free: 13.08 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 (3): * Single equations (assignments): 3 * 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 7.024e-05/0.5617, allocations: 112.9 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.5617, allocations: 39.44 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.5619, allocations: 113.3 kB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5619, allocations: 0 / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5619, allocations: 0 / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5619, allocations: 0 / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.5622, allocations: 310 kB / 0.5921 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5622, allocations: 3.953 kB / 0.5921 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.5623, allocations: 8 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5623, allocations: 4 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5623, allocations: 4 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5623, allocations: 0 / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5623, allocations: 4 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5625, allocations: 187 kB / 0.5923 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.5627, allocations: 164.5 kB / 0.5925 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.5627, allocations: 4 kB / 0.5925 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.5628, allocations: 4 kB / 0.5925 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.5629, allocations: 3.984 kB / 0.5925 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5629, allocations: 8 kB / 0.5925 GB, free: 12.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006187/0.5635, allocations: 0.6082 MB / 0.5931 GB, free: 11.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5635, allocations: 0 / 0.5931 GB, free: 11.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.5638, allocations: 52 kB / 0.5932 GB, free: 11.38 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 (3): * Single equations (assignments): 3 * 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.0006576/0.5645, allocations: 296.8 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.5646, allocations: 27.94 kB / 0.5935 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5646, allocations: 0 / 0.5935 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.5646, allocations: 12.09 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5648, allocations: 18.17 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.5658, allocations: 0.7066 MB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.5662, allocations: 0.8302 MB / 0.595 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.19e-05/0.5663, allocations: 40.17 kB / 0.595 GB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.5664, allocations: 27.38 kB / 0.5951 GB, free: 9.441 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5664, allocations: 0 / 0.5951 GB, free: 9.441 MB / 410.7 MB Notification: Performance of Templates: time 0.005107/0.5715, allocations: 2.007 MB / 0.597 GB, free: 7.426 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches