Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.00196, allocations: 200.9 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008492/0.0008492, allocations: 101.4 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.3512/0.3512, allocations: 44.83 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004311, allocations: 12.22 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 62.95 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4696, allocations: 90.61 MB / 0.6069 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4699, allocations: 75.95 kB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01837/0.4883, allocations: 6.349 MB / 0.6132 GB, free: 8.262 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4883, allocations: 4 kB / 0.6132 GB, free: 8.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4883, allocations: 0 / 0.6132 GB, free: 8.258 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006449/0.489, allocations: 450.9 kB / 0.6136 GB, free: 7.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.489, allocations: 8.031 kB / 0.6136 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.4891, allocations: 8.844 kB / 0.6136 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4894, allocations: 228 kB / 0.6139 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4894, allocations: 384 / 0.6139 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4895, allocations: 384 / 0.6139 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4896, allocations: 62.23 kB / 0.6139 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4896, allocations: 192 / 0.6139 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4897, allocations: 3.938 kB / 0.6139 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4897, allocations: 0 / 0.6139 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.4898, allocations: 23.98 kB / 0.6139 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.4902, allocations: 292.8 kB / 0.6142 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.4904, allocations: 62.62 kB / 0.6143 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.4904, allocations: 24.84 kB / 0.6143 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.4904, allocations: 0 / 0.6143 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.4906, allocations: 67.33 kB / 0.6144 GB, free: 6.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4906, allocations: 0 / 0.6144 GB, free: 6.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.4912, allocations: 189.4 kB / 0.6145 GB, free: 6.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4912, allocations: 55.34 kB / 0.6146 GB, free: 6.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4914, allocations: 179.3 kB / 0.6148 GB, free: 6.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4915, allocations: 29.7 kB / 0.6148 GB, free: 6.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.4915, allocations: 100.1 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.4916, allocations: 31.58 kB / 0.6149 GB, free: 6.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4916, allocations: 0 / 0.6149 GB, free: 6.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4917, allocations: 326.8 kB / 0.6152 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.4918, allocations: 27.98 kB / 0.6153 GB, free: 5.914 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.4918, allocations: 33.7 kB / 0.6153 GB, free: 5.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.492, allocations: 69.89 kB / 0.6154 GB, free: 5.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.492, allocations: 0 / 0.6154 GB, free: 5.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.4922, allocations: 101.4 kB / 0.6155 GB, free: 5.695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4922, allocations: 8 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4922, allocations: 0 / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4922, allocations: 4.031 kB / 0.6155 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.4923, allocations: 19.92 kB / 0.6155 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4923, allocations: 0 / 0.6155 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.4924, allocations: 4 kB / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4924, allocations: 4 kB / 0.6155 GB, free: 5.656 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001023/0.4925, allocations: 129.8 kB / 0.6156 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.4925, allocations: 7.906 kB / 0.6156 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4928, allocations: 123 kB / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4928, allocations: 0 / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4928, allocations: 4 kB / 0.6158 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4928, allocations: 0 / 0.6158 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.4933, allocations: 415.1 kB / 0.6161 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4933, allocations: 0 / 0.6161 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.4934, allocations: 12 kB / 0.6162 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4934, allocations: 3.984 kB / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.4934, allocations: 4.031 kB / 0.6162 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4934, allocations: 4 kB / 0.6162 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4934, allocations: 3.938 kB / 0.6162 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.4936, allocations: 208.2 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.4937, allocations: 92.92 kB / 0.6165 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4937, allocations: 7.984 kB / 0.6165 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.4938, allocations: 4 kB / 0.6165 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.4939, allocations: 15.88 kB / 0.6165 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4939, allocations: 7.984 kB / 0.6165 GB, free: 4.523 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.494, allocations: 138.1 kB / 0.6166 GB, free: 4.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.432e-06/0.494, allocations: 0 / 0.6166 GB, free: 4.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.4943, allocations: 39.86 kB / 0.6167 GB, free: 4.352 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001011/0.4953, allocations: 470.6 kB / 0.6171 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.4955, allocations: 63.91 kB / 0.6172 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4955, allocations: 0 / 0.6172 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.4956, allocations: 35.92 kB / 0.6172 GB, free: 3.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4959, allocations: 35.67 kB / 0.6172 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.4964, allocations: 242.5 kB / 0.6175 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4968, allocations: 0.7082 MB / 0.6182 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.4968, allocations: 12.56 kB / 0.6182 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.4969, allocations: 19.42 kB / 0.6182 GB, free: 2.883 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4969, allocations: 0 / 0.6182 GB, free: 2.883 MB / 426.7 MB Notification: Performance of Templates: time 0.004288/0.5012, allocations: 1.699 MB / 0.6199 GB, free: 1.199 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches