Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 197.4 kB / 18.1 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.584/1.584, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008594, allocations: 107.3 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3876/0.3876, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3384, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4617, allocations: 89.83 MB / 0.6061 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.462, allocations: 83.94 kB / 0.6062 GB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01917/0.4812, allocations: 8.708 MB / 0.6147 GB, free: 6.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4812, allocations: 0 / 0.6147 GB, free: 6.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.4812, allocations: 7.938 kB / 0.6147 GB, free: 6.664 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007965/0.482, allocations: 0.6458 MB / 0.6154 GB, free: 5.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4821, allocations: 8.031 kB / 0.6154 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.4822, allocations: 44.38 kB / 0.6154 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4827, allocations: 352.1 kB / 0.6157 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.4827, allocations: 8.375 kB / 0.6157 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.4827, allocations: 8.359 kB / 0.6158 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4829, allocations: 46.25 kB / 0.6158 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4829, allocations: 4.125 kB / 0.6158 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4829, allocations: 11.94 kB / 0.6158 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4829, allocations: 0 / 0.6158 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.483, allocations: 23.98 kB / 0.6158 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.4836, allocations: 440.6 kB / 0.6163 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4838, allocations: 46.5 kB / 0.6163 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.4839, allocations: 24.88 kB / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4839, allocations: 4 kB / 0.6163 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4839, allocations: 30.56 kB / 0.6164 GB, free: 4.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.4839, allocations: 0 / 0.6164 GB, free: 4.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000614/0.4846, allocations: 251.8 kB / 0.6166 GB, free: 4.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.4846, allocations: 51.41 kB / 0.6166 GB, free: 4.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4859, allocations: 0.8581 MB / 0.6175 GB, free: 3.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4859, allocations: 25.7 kB / 0.6175 GB, free: 3.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.4861, allocations: 224.1 kB / 0.6177 GB, free: 3.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.4861, allocations: 7.812 kB / 0.6177 GB, free: 3.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4861, allocations: 0 / 0.6177 GB, free: 3.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4863, allocations: 374.7 kB / 0.6181 GB, free: 3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.4864, allocations: 19.98 kB / 0.6181 GB, free: 2.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.4864, allocations: 24.05 kB / 0.6181 GB, free: 2.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4866, allocations: 64.89 kB / 0.6182 GB, free: 2.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4866, allocations: 3.938 kB / 0.6182 GB, free: 2.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002406/0.4868, allocations: 121.1 kB / 0.6183 GB, free: 2.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4869, allocations: 4 kB / 0.6183 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4869, allocations: 3.984 kB / 0.6183 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4869, allocations: 8 kB / 0.6183 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.487, allocations: 15.98 kB / 0.6183 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.487, allocations: 0 / 0.6183 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.4871, allocations: 7.938 kB / 0.6184 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4871, allocations: 0 / 0.6184 GB, free: 2.723 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 (5): * Single equations (assignments): 5 * 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.0002013/0.4873, allocations: 218.9 kB / 0.6186 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.4874, allocations: 43.44 kB / 0.6186 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.4876, allocations: 153.1 kB / 0.6187 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4877, allocations: 0 / 0.6187 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4877, allocations: 0 / 0.6187 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4877, allocations: 0 / 0.6187 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.4885, allocations: 0.596 MB / 0.6193 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4885, allocations: 0 / 0.6193 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.4885, allocations: 15.98 kB / 0.6193 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4885, allocations: 288 / 0.6193 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4886, allocations: 4 kB / 0.6193 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4886, allocations: 3.938 kB / 0.6194 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4886, allocations: 7.938 kB / 0.6194 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.4889, allocations: 223.1 kB / 0.6196 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.4891, allocations: 168.5 kB / 0.6197 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4891, allocations: 0 / 0.6197 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.4892, allocations: 12 kB / 0.6197 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4893, allocations: 7.922 kB / 0.6198 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4893, allocations: 4 kB / 0.6198 GB, free: 1.172 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006996/0.49, allocations: 0.6471 MB / 0.6204 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.49, allocations: 0 / 0.6204 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.4903, allocations: 63.98 kB / 0.6204 GB, free: 476 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000876/0.4912, allocations: 401.1 kB / 0.6208 GB, free: 216 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4914, allocations: 59.95 kB / 0.6209 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4914, allocations: 0 / 0.6209 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.4915, allocations: 27.92 kB / 0.6209 GB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4918, allocations: 31.27 kB / 0.6209 GB, free: 96 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4931, allocations: 0.912 MB / 0.6218 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4936, allocations: 0.8262 MB / 0.6226 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.293e-05/0.4937, allocations: 43.84 kB / 0.6227 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4937, allocations: 19.44 kB / 0.6227 GB, free: 14.24 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4937, allocations: 0 / 0.6227 GB, free: 14.24 MB / 442.7 MB Notification: Performance of Templates: time 0.006614/0.5004, allocations: 2.451 MB / 0.6251 GB, free: 11.78 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches