Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001154, allocations: 197.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.361/1.361, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008593, allocations: 98.95 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.395/0.395, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3831, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.5138, allocations: 89.93 MB / 0.6062 GB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5141, allocations: 83.94 kB / 0.6063 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.5362, allocations: 9.235 MB / 0.6153 GB, free: 6.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5362, allocations: 0 / 0.6153 GB, free: 6.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.5363, allocations: 4 kB / 0.6153 GB, free: 6.039 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.000928/0.5372, allocations: 0.6536 MB / 0.616 GB, free: 5.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5373, allocations: 12.88 kB / 0.616 GB, free: 5.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.5374, allocations: 44.38 kB / 0.616 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.5379, allocations: 352 kB / 0.6164 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.538, allocations: 4.375 kB / 0.6164 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.538, allocations: 8.359 kB / 0.6164 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5382, allocations: 66.11 kB / 0.6164 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5382, allocations: 4.188 kB / 0.6165 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.5382, allocations: 3.938 kB / 0.6165 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5382, allocations: 3.938 kB / 0.6165 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5384, allocations: 31.98 kB / 0.6165 GB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.5391, allocations: 456.5 kB / 0.6169 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5393, allocations: 50.56 kB / 0.617 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.5393, allocations: 16.94 kB / 0.617 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5394, allocations: 0 / 0.617 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.5394, allocations: 34.59 kB / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5394, allocations: 0 / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001015/0.5404, allocations: 339.8 kB / 0.6173 GB, free: 3.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5405, allocations: 51.41 kB / 0.6174 GB, free: 3.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.5418, allocations: 0.8503 MB / 0.6182 GB, free: 2.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.5418, allocations: 29.7 kB / 0.6183 GB, free: 2.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.542, allocations: 228.1 kB / 0.6185 GB, free: 2.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.5421, allocations: 27.66 kB / 0.6185 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.5421, allocations: 0 / 0.6185 GB, free: 2.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5422, allocations: 366.7 kB / 0.6188 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.5423, allocations: 27.98 kB / 0.6189 GB, free: 2.207 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.5424, allocations: 23.98 kB / 0.6189 GB, free: 2.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.5426, allocations: 76.81 kB / 0.619 GB, free: 2.105 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5426, allocations: 0 / 0.619 GB, free: 2.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003196/0.5429, allocations: 145 kB / 0.6191 GB, free: 1.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.543, allocations: 10.66 kB / 0.6191 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.543, allocations: 0 / 0.6191 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.543, allocations: 4 kB / 0.6191 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.5431, allocations: 23.98 kB / 0.6191 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5431, allocations: 0 / 0.6191 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.5432, allocations: 11.94 kB / 0.6192 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5432, allocations: 4 kB / 0.6192 GB, free: 1.906 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.0002039/0.5434, allocations: 217.8 kB / 0.6194 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.5435, allocations: 43.44 kB / 0.6194 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.5439, allocations: 169.7 kB / 0.6196 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5439, allocations: 4 kB / 0.6196 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5439, allocations: 4 kB / 0.6196 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5439, allocations: 3.938 kB / 0.6196 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.5448, allocations: 0.6436 MB / 0.6202 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5448, allocations: 3.938 kB / 0.6202 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.5449, allocations: 24.02 kB / 0.6202 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5449, allocations: 3.938 kB / 0.6202 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.5449, allocations: 4.422 kB / 0.6202 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5449, allocations: 0 / 0.6202 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5449, allocations: 3.938 kB / 0.6203 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.5453, allocations: 248 kB / 0.6205 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.5455, allocations: 164.5 kB / 0.6206 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.5455, allocations: 3.938 kB / 0.6206 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.5456, allocations: 11.98 kB / 0.6207 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.5457, allocations: 7.984 kB / 0.6207 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.5457, allocations: 4 kB / 0.6207 GB, free: 252 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007338/0.5464, allocations: 0.6511 MB / 0.6213 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5464, allocations: 0 / 0.6213 GB, free: 15.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.5468, allocations: 67.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.001006/0.5478, allocations: 467.7 kB / 0.6218 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.5481, allocations: 71.95 kB / 0.6219 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5481, allocations: 0 / 0.6219 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.5482, allocations: 39.98 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.000395/0.5486, 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.001341/0.5499, allocations: 0.9519 MB / 0.6229 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.5504, allocations: 0.8262 MB / 0.6237 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.5505, allocations: 44.67 kB / 0.6237 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.5506, allocations: 27.42 kB / 0.6238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5506, allocations: 0 / 0.6238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of Templates: time 0.007206/0.5578, allocations: 2.693 MB / 0.6264 GB, free: 10.49 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches