Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001836, allocations: 196 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009657/0.0009655, allocations: 96.31 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4019/0.4019, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3678, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4958, allocations: 90.33 MB / 0.6066 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4961, allocations: 75.95 kB / 0.6067 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.5109, allocations: 5.514 MB / 0.6121 GB, free: 9.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.511, allocations: 0 / 0.6121 GB, free: 9.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.511, allocations: 4 kB / 0.6121 GB, free: 9.371 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.0006118/0.5116, allocations: 447.3 kB / 0.6125 GB, free: 8.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5117, allocations: 12.88 kB / 0.6125 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.5117, allocations: 12.75 kB / 0.6126 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.512, allocations: 212.8 kB / 0.6128 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5121, allocations: 4.375 kB / 0.6128 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.5121, allocations: 4.375 kB / 0.6128 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.5123, allocations: 74.16 kB / 0.6128 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5123, allocations: 192 / 0.6128 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5124, allocations: 7.938 kB / 0.6128 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5124, allocations: 4 kB / 0.6128 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.5125, allocations: 47.97 kB / 0.6129 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.5131, allocations: 340.6 kB / 0.6132 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.5134, allocations: 62.55 kB / 0.6133 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.5135, allocations: 28.97 kB / 0.6133 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.5135, allocations: 11.98 kB / 0.6133 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5136, allocations: 34.59 kB / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.5136, allocations: 0 / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.5151, allocations: 0.489 MB / 0.6138 GB, free: 7.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5152, allocations: 51.41 kB / 0.6139 GB, free: 7.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.5154, allocations: 200.4 kB / 0.6141 GB, free: 7.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.5154, allocations: 29.7 kB / 0.6141 GB, free: 7.125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.5155, allocations: 108.1 kB / 0.6142 GB, free: 7.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.5155, allocations: 35.45 kB / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.5155, allocations: 4 kB / 0.6142 GB, free: 6.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5157, allocations: 326.8 kB / 0.6145 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5158, allocations: 59.95 kB / 0.6146 GB, free: 6.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.516, allocations: 63.95 kB / 0.6147 GB, free: 6.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.5162, allocations: 148.7 kB / 0.6148 GB, free: 6.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5162, allocations: 0 / 0.6148 GB, free: 6.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000345/0.5166, allocations: 177.4 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.5166, allocations: 8 kB / 0.615 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5166, allocations: 0 / 0.615 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5167, allocations: 3.938 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5168, allocations: 31.97 kB / 0.615 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5168, allocations: 4 kB / 0.615 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.5169, allocations: 15.94 kB / 0.615 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.5169, allocations: 11.98 kB / 0.615 GB, free: 6.125 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 (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.0001131/0.517, allocations: 129.8 kB / 0.6152 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.5171, allocations: 7.906 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.5175, allocations: 210.8 kB / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5175, allocations: 0 / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5175, allocations: 0 / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5175, allocations: 3.938 kB / 0.6154 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.5183, allocations: 0.5195 MB / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5183, allocations: 4 kB / 0.6159 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5185, allocations: 43.91 kB / 0.6159 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5185, allocations: 0 / 0.6159 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5185, allocations: 0.5625 kB / 0.6159 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.5185, allocations: 4 kB / 0.6159 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5185, allocations: 0 / 0.6159 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.5189, allocations: 293.6 kB / 0.6162 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.519, allocations: 88.95 kB / 0.6163 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.519, allocations: 8 kB / 0.6163 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.5191, allocations: 19.98 kB / 0.6163 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.5192, allocations: 11.92 kB / 0.6163 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.5192, allocations: 4 kB / 0.6163 GB, free: 4.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.5194, allocations: 152.9 kB / 0.6165 GB, free: 4.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5194, allocations: 0 / 0.6165 GB, free: 4.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000294/0.5197, allocations: 35.92 kB / 0.6165 GB, free: 4.496 MB / 426.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.001179/0.5209, allocations: 463.5 kB / 0.617 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.5212, allocations: 143.8 kB / 0.6171 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5213, allocations: 0 / 0.6171 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.5214, allocations: 84.02 kB / 0.6172 GB, free: 3.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5218, allocations: 19.92 kB / 0.6172 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.5225, allocations: 331.3 kB / 0.6175 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.5229, allocations: 0.716 MB / 0.6182 GB, free: 2.859 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.523, allocations: 32.7 kB / 0.6183 GB, free: 2.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.5231, allocations: 15.44 kB / 0.6183 GB, free: 2.816 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5231, allocations: 3.938 kB / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of Templates: time 0.004602/0.5277, allocations: 1.619 MB / 0.6199 GB, free: 1.203 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches