Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 193.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008056/0.0008057, allocations: 101.9 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3428/0.3428, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002712, allocations: 8.219 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3638, allocations: 62.96 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4868, allocations: 92.6 MB / 0.6069 GB, free: 12.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.4872, allocations: 67.97 kB / 0.607 GB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02883/0.5161, allocations: 11.03 MB / 0.6177 GB, free: 1.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5161, allocations: 4 kB / 0.6177 GB, free: 1.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.5162, allocations: 15.94 kB / 0.6178 GB, free: 1.629 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009079/0.5171, allocations: 0.6821 MB / 0.6184 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5171, allocations: 15.97 kB / 0.6184 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.5172, allocations: 48.36 kB / 0.6185 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.5178, allocations: 397.9 kB / 0.6189 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5178, allocations: 16.31 kB / 0.6189 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.5179, allocations: 8.375 kB / 0.6189 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.5181, allocations: 126.1 kB / 0.619 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5182, allocations: 192 / 0.619 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5182, allocations: 7.938 kB / 0.619 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5182, allocations: 4 kB / 0.619 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.5184, allocations: 83.94 kB / 0.6191 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.5192, allocations: 0.5471 MB / 0.6196 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.5194, allocations: 110.5 kB / 0.6197 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.5195, allocations: 52.77 kB / 0.6198 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.5195, allocations: 4.219 kB / 0.6198 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5195, allocations: 38.5 kB / 0.6198 GB, free: 15.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.5195, allocations: 0 / 0.6198 GB, free: 15.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009939/0.5205, allocations: 470.6 kB / 0.6203 GB, free: 14.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.5206, allocations: 51.41 kB / 0.6203 GB, free: 14.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.5213, allocations: 0.5916 MB / 0.6209 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.5213, allocations: 29.7 kB / 0.6209 GB, free: 14.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5215, allocations: 216.2 kB / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.5215, allocations: 51.27 kB / 0.6212 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.5216, allocations: 4 kB / 0.6212 GB, free: 13.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5217, allocations: 358.8 kB / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.5219, allocations: 75.89 kB / 0.6216 GB, free: 13.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.522, allocations: 67.95 kB / 0.6217 GB, free: 13.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.5223, allocations: 167.4 kB / 0.6218 GB, free: 13.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5223, allocations: 0 / 0.6218 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003715/0.5227, allocations: 237 kB / 0.6221 GB, free: 13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5227, allocations: 8 kB / 0.6221 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5227, allocations: 0 / 0.6221 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5227, allocations: 0 / 0.6221 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5229, allocations: 43.92 kB / 0.6221 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.5229, allocations: 0 / 0.6221 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.523, allocations: 15.92 kB / 0.6221 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.523, allocations: 8 kB / 0.6221 GB, free: 12.93 MB / 442.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 (17): * Single equations (assignments): 17 * 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.0001782/0.5232, allocations: 181.8 kB / 0.6223 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.5233, allocations: 47.38 kB / 0.6224 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.5238, allocations: 293 kB / 0.6226 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5238, allocations: 0 / 0.6226 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5238, allocations: 4 kB / 0.6226 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5238, allocations: 0 / 0.6226 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009723/0.5248, allocations: 0.7557 MB / 0.6234 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5248, allocations: 0 / 0.6234 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5249, allocations: 35.92 kB / 0.6234 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5249, allocations: 4 kB / 0.6234 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.525, allocations: 4 kB / 0.6234 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.525, allocations: 4 kB / 0.6234 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.525, allocations: 0 / 0.6234 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.5254, allocations: 350.7 kB / 0.6238 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5255, allocations: 140.5 kB / 0.6239 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.5256, allocations: 11.98 kB / 0.6239 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5257, allocations: 12 kB / 0.6239 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.5258, allocations: 7.984 kB / 0.6239 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5258, allocations: 11.88 kB / 0.6239 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005114/0.5263, allocations: 443.7 kB / 0.6244 GB, free: 10.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5263, allocations: 0 / 0.6244 GB, free: 10.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.5266, allocations: 75.92 kB / 0.6244 GB, free: 10.47 MB / 442.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 (17): * Single equations (assignments): 17 * 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.001492/0.5282, allocations: 0.7113 MB / 0.6251 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.5285, allocations: 167.8 kB / 0.6253 GB, free: 9.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5285, allocations: 4 kB / 0.6253 GB, free: 9.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5287, allocations: 95.8 kB / 0.6254 GB, free: 9.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.5292, allocations: 75.64 kB / 0.6254 GB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5305, allocations: 0.8696 MB / 0.6263 GB, free: 8.812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5309, allocations: 0.8262 MB / 0.6271 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.531, allocations: 39.42 kB / 0.6271 GB, free: 7.922 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.531, allocations: 4 kB / 0.6271 GB, free: 7.918 MB / 442.7 MB Notification: Performance of Templates: time 0.007659/0.5387, allocations: 5.174 MB / 0.6322 GB, free: 2.754 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches