Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001483, allocations: 203.9 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009119/0.0009119, allocations: 102.5 kB / 297.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3572/0.3572, allocations: 44.83 MB / 394.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 12 kB / 467.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3901, allocations: 62.95 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5364, allocations: 89.88 MB / 0.6062 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5367, allocations: 83.94 kB / 0.6063 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03152/0.5683, allocations: 9.285 MB / 0.6153 GB, free: 6.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5683, allocations: 0 / 0.6153 GB, free: 6.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.878e-05/0.5684, allocations: 4 kB / 0.6153 GB, free: 6 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.001154/0.5696, allocations: 0.6613 MB / 0.616 GB, free: 5.285 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5696, allocations: 8.875 kB / 0.616 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.5698, allocations: 40.47 kB / 0.616 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.5705, allocations: 368 kB / 0.6164 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5705, allocations: 8.359 kB / 0.6164 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.5705, allocations: 384 / 0.6164 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.5708, allocations: 70.23 kB / 0.6165 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5708, allocations: 4.125 kB / 0.6165 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5708, allocations: 3.938 kB / 0.6165 GB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5708, allocations: 3.938 kB / 0.6165 GB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.571, allocations: 51.91 kB / 0.6165 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.572, allocations: 452.5 kB / 0.617 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.5723, allocations: 66.58 kB / 0.617 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5724, allocations: 28.97 kB / 0.617 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5725, allocations: 0 / 0.617 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5725, allocations: 30.56 kB / 0.6171 GB, free: 4.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.5725, allocations: 0 / 0.6171 GB, free: 4.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.002091/0.5746, allocations: 0.535 MB / 0.6176 GB, free: 3.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.5747, allocations: 55.41 kB / 0.6177 GB, free: 3.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.5768, allocations: 0.8541 MB / 0.6185 GB, free: 2.586 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.5769, allocations: 29.7 kB / 0.6185 GB, free: 2.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.5771, allocations: 220 kB / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.5772, allocations: 35.45 kB / 0.6188 GB, free: 2.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.5772, allocations: 0 / 0.6188 GB, free: 2.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.5774, allocations: 362.8 kB / 0.6191 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.5776, allocations: 51.97 kB / 0.6192 GB, free: 1.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5778, allocations: 59.83 kB / 0.6192 GB, free: 1.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5781, allocations: 112.8 kB / 0.6193 GB, free: 1.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5781, allocations: 0 / 0.6193 GB, free: 1.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005207/0.5787, allocations: 189.1 kB / 0.6195 GB, free: 1.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5787, allocations: 4 kB / 0.6195 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5787, allocations: 0 / 0.6195 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5787, allocations: 0 / 0.6195 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5789, allocations: 43.84 kB / 0.6195 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5789, allocations: 0 / 0.6195 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.5791, allocations: 23.92 kB / 0.6196 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5791, allocations: 4 kB / 0.6196 GB, free: 1.445 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.0002889/0.5794, allocations: 209.8 kB / 0.6198 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.5795, allocations: 43.44 kB / 0.6198 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.5801, allocations: 217.4 kB / 0.62 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.5802, allocations: 7.922 kB / 0.62 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5802, allocations: 4 kB / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5802, allocations: 7.922 kB / 0.62 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.5817, allocations: 0.7069 MB / 0.6207 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5817, allocations: 96 / 0.6207 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5818, allocations: 43.78 kB / 0.6208 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.5819, allocations: 0 / 0.6208 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5819, allocations: 4 kB / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.5819, allocations: 3.938 kB / 0.6208 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5819, allocations: 4.438 kB / 0.6208 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.5826, allocations: 301.3 kB / 0.6211 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.5829, allocations: 168.5 kB / 0.6212 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.5829, allocations: 4 kB / 0.6212 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.5831, allocations: 19.98 kB / 0.6213 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.5832, allocations: 15.98 kB / 0.6213 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5832, allocations: 4 kB / 0.6213 GB, free: 15.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.5844, allocations: 0.6394 MB / 0.6219 GB, free: 14.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5844, allocations: 0 / 0.6219 GB, free: 14.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005142/0.5849, allocations: 71.92 kB / 0.622 GB, free: 14.88 MB / 442.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.001477/0.5864, allocations: 466.1 kB / 0.6224 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.5868, allocations: 119.9 kB / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5869, allocations: 0 / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5871, allocations: 67.91 kB / 0.6226 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.5877, allocations: 30.23 kB / 0.6226 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5899, allocations: 0.9915 MB / 0.6236 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.5905, allocations: 0.8302 MB / 0.6244 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.5907, allocations: 48.78 kB / 0.6244 GB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5908, allocations: 23.44 kB / 0.6245 GB, free: 12.41 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.5908, allocations: 0 / 0.6245 GB, free: 12.41 MB / 442.7 MB Notification: Performance of Templates: time 0.00997/0.6008, allocations: 2.792 MB / 0.6272 GB, free: 9.613 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches