Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008815/0.0008814, allocations: 100.2 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3647/0.3647, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002873, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3834, allocations: 62.96 MB / 0.5184 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5072, allocations: 89.94 MB / 0.6062 GB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5074, allocations: 79.95 kB / 0.6063 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02119/0.5286, allocations: 9.242 MB / 0.6153 GB, free: 6.035 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5287, allocations: 0 / 0.6153 GB, free: 6.035 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.5287, allocations: 7.938 kB / 0.6154 GB, free: 6.027 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.0008427/0.5296, allocations: 0.6497 MB / 0.616 GB, free: 5.324 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5296, allocations: 8.875 kB / 0.616 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.5297, allocations: 44.38 kB / 0.616 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.5302, allocations: 356 kB / 0.6164 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5302, allocations: 384 / 0.6164 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5303, allocations: 8.375 kB / 0.6164 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5304, allocations: 66.17 kB / 0.6165 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5304, allocations: 192 / 0.6165 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5305, allocations: 11.88 kB / 0.6165 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5305, allocations: 0 / 0.6165 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.5306, allocations: 35.97 kB / 0.6165 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.5312, allocations: 448.6 kB / 0.6169 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5313, allocations: 42.56 kB / 0.617 GB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.5314, allocations: 20.94 kB / 0.617 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.5314, allocations: 0 / 0.617 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5314, allocations: 38.56 kB / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.345e-06/0.5315, allocations: 96 / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009482/0.5324, allocations: 339.9 kB / 0.6173 GB, free: 3.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5325, allocations: 51.41 kB / 0.6174 GB, free: 3.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5337, allocations: 0.8659 MB / 0.6182 GB, free: 2.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5337, allocations: 25.7 kB / 0.6183 GB, free: 2.844 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5339, allocations: 220.1 kB / 0.6185 GB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5339, allocations: 27.64 kB / 0.6185 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.534, allocations: 4 kB / 0.6185 GB, free: 2.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5341, allocations: 362.7 kB / 0.6189 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.5342, allocations: 27.98 kB / 0.6189 GB, free: 2.203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.5343, allocations: 35.97 kB / 0.6189 GB, free: 2.168 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.5344, allocations: 65.06 kB / 0.619 GB, free: 2.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5344, allocations: 0 / 0.619 GB, free: 2.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002452/0.5347, allocations: 153 kB / 0.6191 GB, free: 1.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.5347, allocations: 8 kB / 0.6191 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5347, allocations: 3.938 kB / 0.6191 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5348, allocations: 0 / 0.6191 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.5349, allocations: 19.98 kB / 0.6192 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5349, allocations: 0 / 0.6192 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.535, allocations: 15.94 kB / 0.6192 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.535, allocations: 4 kB / 0.6192 GB, free: 1.895 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.0001868/0.5352, allocations: 213.8 kB / 0.6194 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.5352, allocations: 43.44 kB / 0.6194 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.5356, allocations: 173.4 kB / 0.6196 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5356, allocations: 0 / 0.6196 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5356, allocations: 0 / 0.6196 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5356, allocations: 3.938 kB / 0.6196 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.5365, allocations: 0.6436 MB / 0.6202 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5365, allocations: 0 / 0.6202 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.5366, allocations: 19.98 kB / 0.6202 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.5366, allocations: 7.938 kB / 0.6202 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5366, allocations: 8 kB / 0.6202 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5366, allocations: 0 / 0.6202 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5366, allocations: 0 / 0.6202 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.5369, allocations: 247.9 kB / 0.6205 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5371, allocations: 160.5 kB / 0.6206 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.5372, allocations: 11.94 kB / 0.6207 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.5373, allocations: 7.984 kB / 0.6207 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5373, allocations: 8 kB / 0.6207 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5373, allocations: 4 kB / 0.6207 GB, free: 252 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007715/0.5381, allocations: 0.6472 MB / 0.6213 GB, free: 15.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5381, allocations: 0 / 0.6213 GB, free: 15.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.5385, allocations: 71.94 kB / 0.6214 GB, free: 15.53 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.001018/0.5395, allocations: 463 kB / 0.6218 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.5397, allocations: 71.94 kB / 0.6219 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5397, allocations: 8 kB / 0.6219 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.5398, allocations: 39.92 kB / 0.6219 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5402, allocations: 26.3 kB / 0.622 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.5417, allocations: 0.9438 MB / 0.6229 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.5422, allocations: 0.8302 MB / 0.6237 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.5423, allocations: 44.97 kB / 0.6237 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.5423, allocations: 23.44 kB / 0.6237 GB, free: 13.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5424, allocations: 0 / 0.6237 GB, free: 13.2 MB / 442.7 MB Notification: Performance of Templates: time 0.006763/0.5491, allocations: 2.705 MB / 0.6264 GB, free: 10.49 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches