Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008686/0.0008687, allocations: 105.6 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.3284/0.3284, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3569, allocations: 62.95 MB / 0.5165 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.481, allocations: 90.39 MB / 0.6047 GB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4813, allocations: 83.94 kB / 0.6048 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02104/0.5024, allocations: 9.329 MB / 0.6139 GB, free: 5.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5024, allocations: 7.938 kB / 0.6139 GB, free: 5.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.5025, allocations: 7.984 kB / 0.6139 GB, free: 5.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009092/0.5034, allocations: 0.6457 MB / 0.6146 GB, free: 4.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5034, allocations: 12.88 kB / 0.6146 GB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.5036, allocations: 44.45 kB / 0.6146 GB, free: 4.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.5041, allocations: 360 kB / 0.615 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5042, allocations: 8.375 kB / 0.615 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.5042, allocations: 384 / 0.615 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.5044, allocations: 66.23 kB / 0.615 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5044, allocations: 192 / 0.615 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5044, allocations: 3.938 kB / 0.615 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5044, allocations: 0 / 0.615 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.5046, allocations: 43.91 kB / 0.6151 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.5053, allocations: 460.6 kB / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.5054, allocations: 50.58 kB / 0.6156 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.5055, allocations: 20.86 kB / 0.6156 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.5055, allocations: 0 / 0.6156 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.5056, allocations: 38.64 kB / 0.6156 GB, free: 3.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.5056, allocations: 0 / 0.6156 GB, free: 3.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.5066, allocations: 352.2 kB / 0.616 GB, free: 3.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5066, allocations: 51.41 kB / 0.616 GB, free: 3.234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.5079, allocations: 0.8659 MB / 0.6169 GB, free: 2.359 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5079, allocations: 25.7 kB / 0.6169 GB, free: 2.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5081, allocations: 224.1 kB / 0.6171 GB, free: 2.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5081, allocations: 31.55 kB / 0.6171 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.5081, allocations: 0 / 0.6171 GB, free: 2.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5083, allocations: 370.7 kB / 0.6175 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.5084, allocations: 35.86 kB / 0.6175 GB, free: 1.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.5084, allocations: 39.97 kB / 0.6176 GB, free: 1.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.5086, allocations: 76.83 kB / 0.6176 GB, free: 1.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5086, allocations: 0 / 0.6176 GB, free: 1.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002689/0.5089, allocations: 165.3 kB / 0.6178 GB, free: 1.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5089, allocations: 4 kB / 0.6178 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.509, allocations: 3.938 kB / 0.6178 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.509, allocations: 0 / 0.6178 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5091, allocations: 23.92 kB / 0.6178 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5091, allocations: 0 / 0.6178 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.5092, allocations: 19.92 kB / 0.6178 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.5092, allocations: 4 kB / 0.6178 GB, free: 1.328 MB / 426.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 (8): * Single equations (assignments): 8 * 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.0001988/0.5094, allocations: 217.8 kB / 0.618 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.5095, allocations: 51.42 kB / 0.6181 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.5098, allocations: 177.5 kB / 0.6183 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5098, allocations: 0 / 0.6183 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5099, allocations: 0 / 0.6183 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5099, allocations: 3.938 kB / 0.6183 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.5107, allocations: 0.6592 MB / 0.6189 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5107, allocations: 3.938 kB / 0.6189 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.5108, allocations: 19.98 kB / 0.6189 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.5108, allocations: 3.938 kB / 0.6189 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5109, allocations: 4 kB / 0.6189 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5109, allocations: 0 / 0.6189 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5109, allocations: 0 / 0.6189 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.5112, allocations: 256 kB / 0.6192 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.5114, allocations: 164.5 kB / 0.6193 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.5115, allocations: 3.938 kB / 0.6194 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5116, allocations: 15.94 kB / 0.6194 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.5116, allocations: 7.984 kB / 0.6194 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5116, allocations: 4 kB / 0.6194 GB, free: 15.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007354/0.5124, allocations: 0.6511 MB / 0.62 GB, free: 14.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5124, allocations: 0 / 0.62 GB, free: 14.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.5127, allocations: 63.94 kB / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001107/0.5138, allocations: 466.4 kB / 0.6205 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.5141, allocations: 91.86 kB / 0.6206 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5141, allocations: 4 kB / 0.6206 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.5142, allocations: 43.97 kB / 0.6207 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.5147, allocations: 26.3 kB / 0.6207 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.5161, allocations: 1.016 MB / 0.6217 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.5165, allocations: 0.8307 MB / 0.6225 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5166, allocations: 23.69 kB / 0.6225 GB, free: 12.54 MB / 442.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5167, allocations: 0 / 0.6225 GB, free: 12.54 MB / 442.7 MB Notification: Performance of Templates: time 0.008934/0.5256, allocations: 4.618 MB / 0.627 GB, free: 7.914 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches