Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 200.7 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008101/0.00081, allocations: 96.31 kB / 295.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.000234, allocations: 8 kB / 464.7 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09629, allocations: 62.96 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00149/0.09782, allocations: 1.339 MB / 0.5166 GB, free: 3.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.09887, allocations: 1.086 MB / 0.5177 GB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.09892, allocations: 0 / 0.5177 GB, free: 2.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.09908, allocations: 15.92 kB / 0.5177 GB, free: 2.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.09927, allocations: 67.75 kB / 0.5178 GB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.09952, allocations: 111.8 kB / 0.5179 GB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.09963, allocations: 63.81 kB / 0.5179 GB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.09971, allocations: 12 kB / 0.518 GB, free: 2.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.09976, allocations: 23.86 kB / 0.518 GB, free: 2.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.09987, allocations: 35.83 kB / 0.518 GB, free: 2.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.09989, allocations: 4 kB / 0.518 GB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1, allocations: 83.89 kB / 0.5181 GB, free: 2.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.1001, allocations: 11.98 kB / 0.5181 GB, free: 2.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.1001, allocations: 33.64 kB / 0.5181 GB, free: 2.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1002, allocations: 107.8 kB / 0.5182 GB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1002, allocations: 0 / 0.5182 GB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1002, allocations: 0 / 0.5182 GB, free: 2.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1002, allocations: 0 / 0.5182 GB, free: 2.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000448/0.1007, allocations: 399.4 kB / 0.5186 GB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1007, allocations: 12.03 kB / 0.5186 GB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.1008, allocations: 7.906 kB / 0.5186 GB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1009, allocations: 198.8 kB / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1009, allocations: 0 / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.101, allocations: 8 kB / 0.5188 GB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1011, allocations: 75.33 kB / 0.5189 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1011, allocations: 4 kB / 0.5189 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1011, allocations: 0 / 0.5189 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1012, allocations: 0 / 0.5189 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1013, allocations: 39.97 kB / 0.519 GB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.1015, allocations: 296.8 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1017, allocations: 50.53 kB / 0.5193 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.1017, allocations: 28.94 kB / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1018, allocations: 0 / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.1018, allocations: 34.56 kB / 0.5194 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1018, allocations: 3.938 kB / 0.5194 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006625/0.1025, allocations: 245.2 kB / 0.5196 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.1025, allocations: 85.05 kB / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1026, allocations: 143.9 kB / 0.5198 GB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.1026, allocations: 25.7 kB / 0.5198 GB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.1026, allocations: 99.98 kB / 0.5199 GB, free: 144 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1027, allocations: 23.64 kB / 0.5199 GB, free: 120 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1027, allocations: 0 / 0.5199 GB, free: 120 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1028, allocations: 322.8 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1029, allocations: 35.98 kB / 0.5203 GB, free: 15.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.103, allocations: 61.67 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1032, allocations: 40.02 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1032, allocations: 0 / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002698/0.1034, allocations: 129.8 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1035, allocations: 4 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1035, allocations: 80 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.1035, allocations: 0 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1036, allocations: 27.92 kB / 0.5205 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1036, allocations: 7.984 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.1037, allocations: 23.94 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1037, allocations: 0 / 0.5206 GB, free: 15.46 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 (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 7.54e-05/0.1038, allocations: 113.8 kB / 0.5207 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1038, allocations: 15.89 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1041, allocations: 138.3 kB / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1041, allocations: 0 / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1041, allocations: 4 kB / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1042, allocations: 3.938 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.1047, allocations: 410.4 kB / 0.5212 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1047, allocations: 8 kB / 0.5212 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.1048, allocations: 19.98 kB / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1048, allocations: 0 / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1048, allocations: 0 / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1048, allocations: 4 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1048, allocations: 3.953 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1051, allocations: 223.3 kB / 0.5215 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1052, allocations: 93 kB / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1052, allocations: 0 / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.1053, allocations: 19.98 kB / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1053, allocations: 7.953 kB / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1053, allocations: 0 / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.1054, allocations: 117.3 kB / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1054, allocations: 0 / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.1057, allocations: 47.92 kB / 0.5217 GB, free: 14.15 MB / 362.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 () * Number of clocked 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.0009287/0.1066, allocations: 491.6 kB / 0.5222 GB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.1069, allocations: 95.88 kB / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1069, allocations: 0 / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1071, allocations: 51.97 kB / 0.5224 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1074, allocations: 15.98 kB / 0.5224 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.1077, allocations: 230.7 kB / 0.5226 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.108, allocations: 0.6887 MB / 0.5233 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.108, allocations: 19.42 kB / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.108, allocations: 0 / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003327/0.1114, allocations: 2.066 MB / 0.5253 GB, free: 10.61 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches