Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 226.5 MB / 245.4 MB, free: 8.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008179/0.0008177, allocations: 95.94 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.356/0.356, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003218, allocations: 8.219 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4297, allocations: 62.96 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5573, allocations: 90.33 MB / 0.6066 GB, free: 14.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5576, allocations: 71.95 kB / 0.6067 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.5729, allocations: 5.658 MB / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.573, allocations: 0 / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.573, allocations: 0 / 0.6122 GB, free: 9.219 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.0006254/0.5737, allocations: 463.1 kB / 0.6127 GB, free: 8.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5737, allocations: 12.88 kB / 0.6127 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.5738, allocations: 8.844 kB / 0.6127 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.5741, allocations: 220.5 kB / 0.6129 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.5742, allocations: 8.375 kB / 0.6129 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.5742, allocations: 4.375 kB / 0.6129 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.5744, allocations: 70.17 kB / 0.613 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5745, allocations: 192 / 0.613 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5745, allocations: 7.938 kB / 0.613 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5745, allocations: 4 kB / 0.613 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5747, allocations: 51.95 kB / 0.613 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.5753, allocations: 336.6 kB / 0.6134 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.5756, allocations: 62.55 kB / 0.6134 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.5757, allocations: 32.95 kB / 0.6135 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5758, allocations: 11.92 kB / 0.6135 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5758, allocations: 34.56 kB / 0.6135 GB, free: 7.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.5758, allocations: 0 / 0.6135 GB, free: 7.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001564/0.5774, allocations: 0.4957 MB / 0.614 GB, free: 7.254 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.5774, allocations: 51.41 kB / 0.614 GB, free: 7.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.5777, allocations: 223.1 kB / 0.6142 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5777, allocations: 25.7 kB / 0.6143 GB, free: 6.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.5778, allocations: 112 kB / 0.6144 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.5778, allocations: 35.45 kB / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.5779, allocations: 8 kB / 0.6144 GB, free: 6.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.578, allocations: 326.8 kB / 0.6147 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.5781, allocations: 63.95 kB / 0.6148 GB, free: 6.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5783, allocations: 63.95 kB / 0.6149 GB, free: 6.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.5786, allocations: 136.7 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5786, allocations: 7.938 kB / 0.615 GB, free: 6.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003524/0.5789, allocations: 177.5 kB / 0.6152 GB, free: 5.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.579, allocations: 14.97 kB / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.579, allocations: 0 / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.579, allocations: 0 / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5791, allocations: 27.98 kB / 0.6152 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5791, allocations: 0 / 0.6152 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5792, allocations: 19.92 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.5793, allocations: 0.5625 kB / 0.6152 GB, free: 5.938 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.0001256/0.5794, allocations: 143.5 kB / 0.6154 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.5795, allocations: 15.81 kB / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.5799, allocations: 208.8 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.5799, allocations: 0 / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5799, allocations: 0 / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5799, allocations: 7.938 kB / 0.6156 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.5807, allocations: 0.5351 MB / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5807, allocations: 0 / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5808, allocations: 35.98 kB / 0.6161 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5808, allocations: 4 kB / 0.6161 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5808, allocations: 4 kB / 0.6161 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5809, allocations: 0 / 0.6161 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.5809, allocations: 7.938 kB / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.5813, allocations: 285.1 kB / 0.6164 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.5814, allocations: 96.94 kB / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5814, allocations: 8 kB / 0.6165 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.5815, allocations: 15.98 kB / 0.6165 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.5816, allocations: 11.98 kB / 0.6165 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5816, allocations: 4 kB / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.5817, allocations: 168.2 kB / 0.6167 GB, free: 4.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5818, allocations: 0 / 0.6167 GB, free: 4.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.582, allocations: 39.94 kB / 0.6168 GB, free: 4.258 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.001007/0.5831, allocations: 462.9 kB / 0.6172 GB, free: 3.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.5834, allocations: 147.8 kB / 0.6173 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5834, allocations: 0 / 0.6173 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5836, allocations: 80.03 kB / 0.6174 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.584, allocations: 23.92 kB / 0.6174 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.5846, allocations: 356.1 kB / 0.6178 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.585, allocations: 0.716 MB / 0.6185 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.5851, allocations: 43.73 kB / 0.6185 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.5852, allocations: 23.36 kB / 0.6185 GB, free: 2.527 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5852, allocations: 0 / 0.6185 GB, free: 2.527 MB / 426.7 MB Notification: Performance of Templates: time 0.004523/0.5897, allocations: 1.655 MB / 0.6202 GB, free: 0.8828 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches