Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008918, allocations: 95.55 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3682/0.3682, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.4328, allocations: 90.39 MB / 0.6067 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.433, allocations: 79.94 kB / 0.6068 GB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02067/0.4537, allocations: 9.332 MB / 0.6159 GB, free: 5.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4538, allocations: 0 / 0.6159 GB, free: 5.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.4538, allocations: 11.94 kB / 0.6159 GB, free: 5.477 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.0008578/0.4547, allocations: 0.6535 MB / 0.6165 GB, free: 4.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4547, allocations: 8.875 kB / 0.6165 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.4548, allocations: 40.47 kB / 0.6166 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.4554, allocations: 368 kB / 0.6169 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4554, allocations: 8.359 kB / 0.6169 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.4555, allocations: 8.375 kB / 0.6169 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4556, allocations: 54.25 kB / 0.617 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4557, allocations: 8.172 kB / 0.617 GB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4557, allocations: 3.938 kB / 0.617 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4557, allocations: 0 / 0.617 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.4558, allocations: 39.92 kB / 0.617 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.4565, allocations: 460.6 kB / 0.6175 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4566, allocations: 50.59 kB / 0.6175 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.4567, allocations: 24.94 kB / 0.6176 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4567, allocations: 4 kB / 0.6176 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.4568, allocations: 30.56 kB / 0.6176 GB, free: 3.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4568, allocations: 0 / 0.6176 GB, free: 3.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.4578, allocations: 355.7 kB / 0.6179 GB, free: 3.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4578, allocations: 59.41 kB / 0.618 GB, free: 3.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.4591, allocations: 0.8542 MB / 0.6188 GB, free: 2.281 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4591, allocations: 25.7 kB / 0.6188 GB, free: 2.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4593, allocations: 228.1 kB / 0.6191 GB, free: 2.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4593, allocations: 27.56 kB / 0.6191 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.4593, allocations: 3.938 kB / 0.6191 GB, free: 1.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4595, allocations: 366.7 kB / 0.6194 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.4596, allocations: 39.97 kB / 0.6195 GB, free: 1.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.4597, allocations: 39.92 kB / 0.6195 GB, free: 1.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.4599, allocations: 85.03 kB / 0.6196 GB, free: 1.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4599, allocations: 4 kB / 0.6196 GB, free: 1.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002647/0.4601, allocations: 153.1 kB / 0.6197 GB, free: 1.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4602, allocations: 8 kB / 0.6198 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4602, allocations: 0 / 0.6198 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4602, allocations: 3.938 kB / 0.6198 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4603, allocations: 23.92 kB / 0.6198 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4603, allocations: 4 kB / 0.6198 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.4604, allocations: 7.938 kB / 0.6198 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4604, allocations: 4.422 kB / 0.6198 GB, free: 1.25 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.0001997/0.4606, allocations: 213.8 kB / 0.62 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.4607, allocations: 43.44 kB / 0.62 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.461, allocations: 181.5 kB / 0.6202 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4611, allocations: 7.984 kB / 0.6202 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4611, allocations: 0 / 0.6202 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.4611, allocations: 3.938 kB / 0.6202 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.4619, allocations: 0.6553 MB / 0.6209 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4619, allocations: 0 / 0.6209 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.462, allocations: 27.92 kB / 0.6209 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.462, allocations: 7.938 kB / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.462, allocations: 0 / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.462, allocations: 0 / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.462, allocations: 4.031 kB / 0.6209 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4624, allocations: 252.2 kB / 0.6211 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4625, allocations: 164.5 kB / 0.6213 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.4626, allocations: 11.94 kB / 0.6213 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.4627, allocations: 11.98 kB / 0.6213 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.4628, allocations: 7.922 kB / 0.6213 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.4628, allocations: 4 kB / 0.6213 GB, free: 15.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007072/0.4635, allocations: 0.6472 MB / 0.622 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4635, allocations: 0 / 0.622 GB, free: 14.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.4638, allocations: 67.92 kB / 0.622 GB, free: 14.85 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.0009857/0.4648, allocations: 458.2 kB / 0.6225 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.4651, allocations: 91.88 kB / 0.6226 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4651, allocations: 0 / 0.6226 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4652, allocations: 39.98 kB / 0.6226 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4656, allocations: 30.3 kB / 0.6226 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4668, allocations: 0.9788 MB / 0.6236 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.4673, allocations: 0.8307 MB / 0.6244 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.4674, allocations: 60.97 kB / 0.6244 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.4675, allocations: 15.44 kB / 0.6245 GB, free: 12.46 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4675, allocations: 0 / 0.6245 GB, free: 12.46 MB / 442.7 MB Notification: Performance of Templates: time 0.006116/0.4736, allocations: 2.73 MB / 0.6271 GB, free: 9.723 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches