Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 199.8 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00085/0.0008499, allocations: 108 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3779/0.3779, allocations: 44.83 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002621, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3903, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.5224, allocations: 89.49 MB / 0.6058 GB, free: 15.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5227, allocations: 75.94 kB / 0.6059 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.5378, allocations: 5.505 MB / 0.6113 GB, free: 10.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5378, allocations: 0 / 0.6113 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.5379, allocations: 0 / 0.6113 GB, free: 10.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006469/0.5385, allocations: 451.2 kB / 0.6117 GB, free: 9.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5386, allocations: 8.875 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.5386, allocations: 16.75 kB / 0.6117 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.539, allocations: 220.5 kB / 0.6119 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.539, allocations: 4.375 kB / 0.6119 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.5391, allocations: 12.28 kB / 0.6119 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5393, allocations: 70.16 kB / 0.612 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5393, allocations: 192 / 0.612 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.5393, allocations: 11.92 kB / 0.612 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5393, allocations: 8 kB / 0.612 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.5395, allocations: 39.97 kB / 0.6121 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.54, allocations: 336.6 kB / 0.6124 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5402, allocations: 66.55 kB / 0.6125 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.5403, allocations: 30.02 kB / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5403, allocations: 4 kB / 0.6125 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.5404, allocations: 34.5 kB / 0.6125 GB, free: 8.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.5404, allocations: 0 / 0.6125 GB, free: 8.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001042/0.5414, allocations: 329.1 kB / 0.6128 GB, free: 8.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5415, allocations: 55.41 kB / 0.6129 GB, free: 8.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.5417, allocations: 239.4 kB / 0.6131 GB, free: 8.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5418, allocations: 29.64 kB / 0.6131 GB, free: 8.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.5418, allocations: 112.1 kB / 0.6132 GB, free: 7.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.5419, allocations: 43.36 kB / 0.6133 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.5419, allocations: 4 kB / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.542, allocations: 330.8 kB / 0.6136 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.5421, allocations: 35.97 kB / 0.6136 GB, free: 7.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.5422, allocations: 39.98 kB / 0.6137 GB, free: 7.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5424, allocations: 108 kB / 0.6138 GB, free: 7.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5424, allocations: 0 / 0.6138 GB, free: 7.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002433/0.5426, allocations: 137.5 kB / 0.6139 GB, free: 7.285 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5427, allocations: 10.5 kB / 0.6139 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5427, allocations: 4 kB / 0.6139 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5427, allocations: 0 / 0.6139 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5429, allocations: 31.97 kB / 0.614 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5429, allocations: 7.875 kB / 0.614 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.5429, allocations: 11.94 kB / 0.614 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5429, allocations: 4 kB / 0.614 GB, free: 7.219 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 (13): * Single equations (assignments): 13 * 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.0001038/0.5431, allocations: 129.8 kB / 0.6141 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.5431, allocations: 19.81 kB / 0.6141 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.5434, allocations: 171.8 kB / 0.6143 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5434, allocations: 0 / 0.6143 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5434, allocations: 3.938 kB / 0.6143 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5435, allocations: 3.938 kB / 0.6143 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.5441, allocations: 0.499 MB / 0.6148 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5441, allocations: 4 kB / 0.6148 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.5442, allocations: 28.02 kB / 0.6148 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5442, allocations: 4 kB / 0.6148 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5442, allocations: 4 kB / 0.6148 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5442, allocations: 0 / 0.6148 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5442, allocations: 0 / 0.6148 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.5446, allocations: 256 kB / 0.6151 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.5447, allocations: 93 kB / 0.6152 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5447, allocations: 8 kB / 0.6152 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.5448, allocations: 4 kB / 0.6152 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.5449, allocations: 7.984 kB / 0.6152 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.5449, allocations: 4 kB / 0.6152 GB, free: 5.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.5451, allocations: 181.2 kB / 0.6153 GB, free: 5.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5451, allocations: 4 kB / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.5454, allocations: 39.92 kB / 0.6154 GB, free: 5.664 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 (13): * Single equations (assignments): 13 * 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.001075/0.5464, allocations: 474.6 kB / 0.6158 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.5467, allocations: 99.95 kB / 0.6159 GB, free: 5.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5467, allocations: 0 / 0.6159 GB, free: 5.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5469, allocations: 55.98 kB / 0.616 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5472, allocations: 27.28 kB / 0.616 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.5478, allocations: 358.8 kB / 0.6164 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5482, allocations: 0.72 MB / 0.6171 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.5483, allocations: 20.53 kB / 0.6171 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.5484, allocations: 19.44 kB / 0.6171 GB, free: 4.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5484, allocations: 3.938 kB / 0.6171 GB, free: 4.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004339/0.5527, allocations: 1.579 MB / 0.6186 GB, free: 2.445 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches