Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 226.5 MB / 245.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007848, allocations: 94.64 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4116/0.4116, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003455, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 62.96 MB / 0.5184 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5215, allocations: 89.87 MB / 0.6062 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5218, allocations: 79.94 kB / 0.6063 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.5358, allocations: 5.458 MB / 0.6116 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5359, allocations: 0 / 0.6116 GB, free: 9.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.5359, allocations: 4 kB / 0.6116 GB, free: 9.891 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.0005941/0.5365, allocations: 443.3 kB / 0.612 GB, free: 9.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5366, allocations: 12.86 kB / 0.612 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.5366, allocations: 8.844 kB / 0.612 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.5369, allocations: 208 kB / 0.6122 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5369, allocations: 12.38 kB / 0.6123 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.537, allocations: 4.375 kB / 0.6123 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5371, allocations: 66.22 kB / 0.6123 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5372, allocations: 4.125 kB / 0.6123 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.5372, allocations: 7.938 kB / 0.6123 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.5372, allocations: 0 / 0.6123 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5373, allocations: 47.97 kB / 0.6124 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.5378, allocations: 316.6 kB / 0.6127 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.5381, allocations: 66.58 kB / 0.6127 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.5382, allocations: 28.97 kB / 0.6128 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5382, allocations: 0 / 0.6128 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5383, allocations: 30.56 kB / 0.6128 GB, free: 8.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5383, allocations: 0 / 0.6128 GB, free: 8.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00145/0.5397, allocations: 468.9 kB / 0.6132 GB, free: 8.031 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5398, allocations: 63.28 kB / 0.6133 GB, free: 7.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.54, allocations: 203.2 kB / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.54, allocations: 29.7 kB / 0.6135 GB, free: 7.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.5401, allocations: 104.1 kB / 0.6136 GB, free: 7.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.5402, allocations: 35.47 kB / 0.6137 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.5402, allocations: 0 / 0.6137 GB, free: 7.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5403, allocations: 322.8 kB / 0.614 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.5404, allocations: 55.97 kB / 0.614 GB, free: 7.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5406, allocations: 53.81 kB / 0.6141 GB, free: 7.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.5408, allocations: 116.8 kB / 0.6142 GB, free: 7.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5408, allocations: 0 / 0.6142 GB, free: 7.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.5411, allocations: 154.6 kB / 0.6143 GB, free: 6.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5412, allocations: 7.938 kB / 0.6143 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5412, allocations: 0 / 0.6143 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5412, allocations: 0 / 0.6143 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5413, allocations: 31.97 kB / 0.6144 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5413, allocations: 4 kB / 0.6144 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.5414, allocations: 23.92 kB / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5415, allocations: 4.562 kB / 0.6144 GB, free: 6.793 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.0001091/0.5416, allocations: 125.8 kB / 0.6145 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.5416, allocations: 11.81 kB / 0.6145 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.542, allocations: 179 kB / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.542, allocations: 0 / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.542, allocations: 0 / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.542, allocations: 3.938 kB / 0.6147 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.5428, allocations: 0.5038 MB / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5428, allocations: 0 / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5429, allocations: 31.92 kB / 0.6152 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5429, allocations: 4 kB / 0.6152 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5429, allocations: 0 / 0.6152 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.543, allocations: 4 kB / 0.6152 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.543, allocations: 0 / 0.6152 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.5434, allocations: 273.8 kB / 0.6155 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.5435, allocations: 100.8 kB / 0.6156 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.5435, allocations: 4.094 kB / 0.6156 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5436, allocations: 19.92 kB / 0.6156 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.5437, allocations: 7.984 kB / 0.6156 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5437, allocations: 8 kB / 0.6156 GB, free: 5.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.5439, allocations: 146 kB / 0.6158 GB, free: 5.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5439, allocations: 0 / 0.6158 GB, free: 5.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.5442, allocations: 35.94 kB / 0.6158 GB, free: 5.242 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.001039/0.5452, allocations: 466.9 kB / 0.6163 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.5456, allocations: 123.8 kB / 0.6164 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5456, allocations: 0 / 0.6164 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5457, allocations: 67.89 kB / 0.6164 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.5461, allocations: 23.92 kB / 0.6165 GB, free: 4.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.5466, allocations: 295.6 kB / 0.6167 GB, free: 4.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.5469, allocations: 0.7199 MB / 0.6174 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.547, allocations: 16.55 kB / 0.6175 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.5471, allocations: 15.44 kB / 0.6175 GB, free: 3.633 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5471, allocations: 0 / 0.6175 GB, free: 3.633 MB / 426.7 MB Notification: Performance of Templates: time 0.004516/0.5516, allocations: 1.548 MB / 0.619 GB, free: 2.09 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches