Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 196.9 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.544/1.544, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007836/0.0007833, allocations: 96.48 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3743/0.3743, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3848, allocations: 62.96 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.5171, allocations: 89.89 MB / 0.6062 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5173, allocations: 75.95 kB / 0.6063 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.5346, allocations: 5.49 MB / 0.6116 GB, free: 9.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.2e-06/0.5347, allocations: 4 kB / 0.6116 GB, free: 9.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.5347, allocations: 0 / 0.6116 GB, free: 9.848 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.0008358/0.5356, allocations: 459.2 kB / 0.6121 GB, free: 9.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.5357, allocations: 8.875 kB / 0.6121 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.5357, allocations: 12.75 kB / 0.6121 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.5361, allocations: 212.8 kB / 0.6123 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5361, allocations: 384 / 0.6123 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.5362, allocations: 4.375 kB / 0.6123 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5364, allocations: 70.17 kB / 0.6124 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5364, allocations: 4.188 kB / 0.6124 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5364, allocations: 3.938 kB / 0.6124 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5364, allocations: 4 kB / 0.6124 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.5366, allocations: 39.97 kB / 0.6124 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.5371, allocations: 328.6 kB / 0.6127 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.5374, allocations: 58.55 kB / 0.6128 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.5375, allocations: 32.91 kB / 0.6128 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.5375, allocations: 7.984 kB / 0.6128 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5376, allocations: 34.56 kB / 0.6129 GB, free: 8.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.5376, allocations: 0 / 0.6129 GB, free: 8.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001538/0.5391, allocations: 469.2 kB / 0.6133 GB, free: 7.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5392, allocations: 51.41 kB / 0.6134 GB, free: 7.898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.5394, allocations: 200.5 kB / 0.6136 GB, free: 7.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5395, allocations: 25.7 kB / 0.6136 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.5396, allocations: 104.1 kB / 0.6137 GB, free: 7.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.5396, allocations: 35.45 kB / 0.6137 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5396, allocations: 12 kB / 0.6137 GB, free: 7.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5398, allocations: 322.8 kB / 0.614 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5399, allocations: 43.97 kB / 0.6141 GB, free: 7.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.5401, allocations: 55.97 kB / 0.6141 GB, free: 7.086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.5403, allocations: 121.9 kB / 0.6142 GB, free: 6.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5403, allocations: 0 / 0.6142 GB, free: 6.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003324/0.5407, allocations: 157.7 kB / 0.6144 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5407, allocations: 8 kB / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5407, allocations: 0 / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5408, allocations: 4 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.5409, allocations: 27.98 kB / 0.6144 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5409, allocations: 3.984 kB / 0.6144 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.541, allocations: 11.94 kB / 0.6144 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.541, allocations: 12 kB / 0.6145 GB, free: 6.738 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.0001242/0.5411, allocations: 125.8 kB / 0.6146 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5412, allocations: 15.84 kB / 0.6146 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.5416, allocations: 190.9 kB / 0.6148 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5416, allocations: 4 kB / 0.6148 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5416, allocations: 0 / 0.6148 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5416, allocations: 3.938 kB / 0.6148 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.5424, allocations: 0.4883 MB / 0.6153 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5424, allocations: 0 / 0.6153 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5425, allocations: 35.98 kB / 0.6153 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5425, allocations: 4 kB / 0.6153 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5425, allocations: 4 kB / 0.6153 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5426, allocations: 4 kB / 0.6153 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5426, allocations: 4.031 kB / 0.6153 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.543, allocations: 269 kB / 0.6156 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.5431, allocations: 100.9 kB / 0.6157 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5431, allocations: 4 kB / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5432, allocations: 19.98 kB / 0.6157 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.5433, allocations: 7.984 kB / 0.6157 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.5433, allocations: 4 kB / 0.6157 GB, free: 5.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.5434, allocations: 156.9 kB / 0.6158 GB, free: 5.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5435, allocations: 3.938 kB / 0.6158 GB, free: 5.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.5438, allocations: 28 kB / 0.6159 GB, free: 5.172 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.001176/0.5449, allocations: 453.7 kB / 0.6163 GB, free: 4.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.5453, allocations: 123.9 kB / 0.6164 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5453, allocations: 0 / 0.6164 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.5455, allocations: 72.03 kB / 0.6165 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.5459, allocations: 24.14 kB / 0.6165 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.5466, allocations: 311.3 kB / 0.6168 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.5471, allocations: 0.7121 MB / 0.6175 GB, free: 3.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.5472, allocations: 28.53 kB / 0.6175 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.5472, allocations: 15.44 kB / 0.6175 GB, free: 3.547 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5472, allocations: 3.938 kB / 0.6176 GB, free: 3.543 MB / 426.7 MB Notification: Performance of Templates: time 0.004679/0.5519, allocations: 1.542 MB / 0.6191 GB, free: 2.008 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches