Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 200.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.721/1.721, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000792/0.000792, allocations: 97.3 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3183/0.3183, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4344, allocations: 62.96 MB / 0.5184 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5703, allocations: 89.49 MB / 0.6058 GB, free: 15.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5706, allocations: 75.95 kB / 0.6059 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5843, allocations: 5.249 MB / 0.611 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5844, allocations: 0 / 0.611 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5844, allocations: 0 / 0.611 GB, free: 10.48 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.0005335/0.5849, allocations: 447.2 kB / 0.6114 GB, free: 9.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.585, allocations: 12.03 kB / 0.6115 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.585, allocations: 12.75 kB / 0.6115 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.5853, allocations: 233.5 kB / 0.6117 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.5853, allocations: 4.375 kB / 0.6117 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5854, allocations: 8.375 kB / 0.6117 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5855, allocations: 54.23 kB / 0.6117 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5855, allocations: 192 / 0.6118 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5856, allocations: 7.938 kB / 0.6118 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5856, allocations: 0 / 0.6118 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.5857, allocations: 31.97 kB / 0.6118 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.5861, allocations: 320.7 kB / 0.6121 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.986e-05/0.5862, allocations: 46.56 kB / 0.6121 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.5863, allocations: 20.94 kB / 0.6122 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5863, allocations: 4 kB / 0.6122 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5864, allocations: 34.56 kB / 0.6122 GB, free: 9.098 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.5864, allocations: 3.938 kB / 0.6122 GB, free: 9.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009044/0.5873, allocations: 270.1 kB / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5873, allocations: 55.41 kB / 0.6125 GB, free: 8.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.5876, allocations: 243.3 kB / 0.6127 GB, free: 8.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5876, allocations: 25.7 kB / 0.6128 GB, free: 8.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.5877, allocations: 112.1 kB / 0.6129 GB, free: 8.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.5877, allocations: 31.67 kB / 0.6129 GB, free: 8.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.5877, allocations: 0 / 0.6129 GB, free: 8.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5879, allocations: 334.8 kB / 0.6132 GB, free: 8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.588, allocations: 31.98 kB / 0.6133 GB, free: 7.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.588, allocations: 35.97 kB / 0.6133 GB, free: 7.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.5882, allocations: 80.77 kB / 0.6134 GB, free: 7.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5882, allocations: 4 kB / 0.6134 GB, free: 7.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.5885, allocations: 121.5 kB / 0.6135 GB, free: 7.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5885, allocations: 8 kB / 0.6135 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5885, allocations: 0 / 0.6135 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5885, allocations: 0 / 0.6135 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.5886, allocations: 19.98 kB / 0.6135 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5886, allocations: 4 kB / 0.6135 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.5887, allocations: 4 kB / 0.6135 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.5888, allocations: 7.938 kB / 0.6135 GB, free: 7.68 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.0001064/0.5889, allocations: 133.8 kB / 0.6137 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.5889, allocations: 15.81 kB / 0.6137 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.5892, allocations: 155.2 kB / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5893, allocations: 0 / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5893, allocations: 0 / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5893, allocations: 432 / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.5899, allocations: 463.2 kB / 0.6143 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5899, allocations: 4 kB / 0.6143 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.59, allocations: 19.98 kB / 0.6143 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.59, allocations: 0 / 0.6143 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.59, allocations: 11.94 kB / 0.6143 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.59, allocations: 0 / 0.6143 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.59, allocations: 0 / 0.6143 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.5903, allocations: 228.2 kB / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.5904, allocations: 100.9 kB / 0.6146 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5905, allocations: 3.938 kB / 0.6146 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.5905, allocations: 12 kB / 0.6146 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.5906, allocations: 7.984 kB / 0.6146 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.5906, allocations: 4 kB / 0.6146 GB, free: 6.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5908, allocations: 191.8 kB / 0.6148 GB, free: 6.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5908, allocations: 0 / 0.6148 GB, free: 6.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.5911, allocations: 31.98 kB / 0.6148 GB, free: 6.219 MB / 426.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.001063/0.5922, allocations: 458.2 kB / 0.6153 GB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.5924, allocations: 79.95 kB / 0.6154 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5925, allocations: 0 / 0.6154 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.5926, allocations: 47.91 kB / 0.6154 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5929, allocations: 13.72 kB / 0.6154 GB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.5935, allocations: 330.5 kB / 0.6157 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.5939, allocations: 0.716 MB / 0.6164 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.594, allocations: 32.94 kB / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.5941, allocations: 19.44 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5941, allocations: 0 / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of Templates: time 0.004286/0.5984, allocations: 1.487 MB / 0.6179 GB, free: 3.16 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches