Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 200 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 243.1 MB, free: 12.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007326/0.0007326, allocations: 101.2 kB / 295.1 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 44.84 MB / 392 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002443, allocations: 11.98 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09209, allocations: 62.95 MB / 0.5153 GB, free: 5.137 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001538/0.09367, allocations: 1.363 MB / 0.5167 GB, free: 3.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006167/0.0943, allocations: 0.4914 MB / 0.5171 GB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.09436, allocations: 0 / 0.5171 GB, free: 3.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.09457, allocations: 59.8 kB / 0.5172 GB, free: 3.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.09475, allocations: 75.8 kB / 0.5173 GB, free: 3.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.09501, allocations: 111.8 kB / 0.5174 GB, free: 3.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.09512, allocations: 71.77 kB / 0.5174 GB, free: 2.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.0952, allocations: 16.23 kB / 0.5175 GB, free: 2.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.09525, allocations: 35.83 kB / 0.5175 GB, free: 2.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.09534, allocations: 31.84 kB / 0.5175 GB, free: 2.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.09536, allocations: 0 / 0.5175 GB, free: 2.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.09545, allocations: 43.98 kB / 0.5176 GB, free: 2.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.09551, allocations: 19.92 kB / 0.5176 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.09553, allocations: 37.64 kB / 0.5176 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.09565, allocations: 83.8 kB / 0.5177 GB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.09566, allocations: 0 / 0.5177 GB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09567, allocations: 0 / 0.5177 GB, free: 2.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.09568, allocations: 4 kB / 0.5177 GB, free: 2.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003787/0.09606, allocations: 399.3 kB / 0.5181 GB, free: 2.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09611, allocations: 12.02 kB / 0.5181 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.09614, allocations: 7.906 kB / 0.5181 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.09628, allocations: 192.3 kB / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.0963, allocations: 0 / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.09632, allocations: 11.98 kB / 0.5183 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.09647, allocations: 77.53 kB / 0.5184 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.09649, allocations: 0 / 0.5184 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.09651, allocations: 4 kB / 0.5184 GB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.09652, allocations: 0 / 0.5184 GB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.09665, allocations: 47.97 kB / 0.5184 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.09694, allocations: 312.7 kB / 0.5187 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.09714, allocations: 54.56 kB / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.09722, allocations: 32.97 kB / 0.5188 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.09725, allocations: 7.984 kB / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.09727, allocations: 30.66 kB / 0.5188 GB, free: 1.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.09727, allocations: 3.938 kB / 0.5188 GB, free: 1.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001302/0.09858, allocations: 472.6 kB / 0.5193 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.09862, allocations: 51.41 kB / 0.5193 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.09875, allocations: 189.5 kB / 0.5195 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.09877, allocations: 25.7 kB / 0.5195 GB, free: 0.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.09881, allocations: 104.1 kB / 0.5196 GB, free: 488 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.09884, allocations: 35.45 kB / 0.5197 GB, free: 452 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.09885, allocations: 8 kB / 0.5197 GB, free: 444 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.0989, allocations: 318.8 kB / 0.52 GB, free: 116 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.09902, allocations: 47.97 kB / 0.52 GB, free: 68 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.09913, allocations: 55.97 kB / 0.5201 GB, free: 12 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.09928, allocations: 51.97 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.09929, allocations: 4 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003084/0.09961, allocations: 157.3 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.09963, allocations: 10.03 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.09964, allocations: 4 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.09966, allocations: 3.953 kB / 0.5203 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.09977, allocations: 36.53 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.09979, allocations: 0 / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.09985, allocations: 15.98 kB / 0.5204 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.09987, allocations: 0 / 0.5204 GB, free: 15.73 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001023/0.09997, allocations: 133.8 kB / 0.5205 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1, allocations: 7.906 kB / 0.5205 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.1004, allocations: 178.3 kB / 0.5207 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1004, allocations: 4 kB / 0.5207 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1004, allocations: 3.953 kB / 0.5207 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1004, allocations: 0 / 0.5207 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.1011, allocations: 495.9 kB / 0.5211 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1011, allocations: 0 / 0.5211 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1012, allocations: 36 kB / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1012, allocations: 4 kB / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1012, allocations: 0 / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1012, allocations: 0 / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.1012, allocations: 7.938 kB / 0.5212 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1016, allocations: 265 kB / 0.5214 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.1016, allocations: 88.92 kB / 0.5215 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1016, allocations: 7.953 kB / 0.5215 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.1017, allocations: 19.98 kB / 0.5216 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1018, allocations: 7.984 kB / 0.5216 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1018, allocations: 8 kB / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1019, allocations: 144 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1019, allocations: 0 / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1022, allocations: 28 kB / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008623/0.103, allocations: 450.9 kB / 0.5222 GB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.1034, allocations: 131.8 kB / 0.5223 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1034, allocations: 0 / 0.5223 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1035, allocations: 68.03 kB / 0.5224 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1038, allocations: 17.95 kB / 0.5224 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.1043, allocations: 316.6 kB / 0.5227 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1046, allocations: 0.7121 MB / 0.5234 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1047, allocations: 15.44 kB / 0.5234 GB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1047, allocations: 0 / 0.5234 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.003198/0.1079, allocations: 1.915 MB / 0.5253 GB, free: 10.7 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches