Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 205.1 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008033/0.0008033, allocations: 99.89 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3976/0.3976, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3929, allocations: 62.97 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.522, allocations: 90.7 MB / 0.607 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5223, allocations: 83.94 kB / 0.6071 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.5407, allocations: 6.845 MB / 0.6138 GB, free: 7.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5407, allocations: 0 / 0.6138 GB, free: 7.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5407, allocations: 7.938 kB / 0.6138 GB, free: 7.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006175/0.5413, allocations: 470.7 kB / 0.6142 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5414, allocations: 8.031 kB / 0.6142 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.5414, allocations: 8.844 kB / 0.6142 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.5417, allocations: 228.5 kB / 0.6145 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5418, allocations: 4.375 kB / 0.6145 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.5418, allocations: 8.375 kB / 0.6145 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.542, allocations: 58.22 kB / 0.6145 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.542, allocations: 4.188 kB / 0.6145 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.542, allocations: 7.875 kB / 0.6145 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.542, allocations: 4 kB / 0.6145 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.5421, allocations: 19.98 kB / 0.6146 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.5425, allocations: 312.8 kB / 0.6149 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.5428, allocations: 70.42 kB / 0.6149 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.5428, allocations: 24.92 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.5429, allocations: 0 / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.543, allocations: 71.38 kB / 0.615 GB, free: 6.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.543, allocations: 0 / 0.615 GB, free: 6.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007196/0.5437, allocations: 253.5 kB / 0.6153 GB, free: 5.965 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5438, allocations: 51.41 kB / 0.6153 GB, free: 5.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.544, allocations: 224.3 kB / 0.6155 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.544, allocations: 29.7 kB / 0.6156 GB, free: 5.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.5441, allocations: 112 kB / 0.6157 GB, free: 5.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5441, allocations: 35.55 kB / 0.6157 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5441, allocations: 0 / 0.6157 GB, free: 5.484 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5442, allocations: 330.8 kB / 0.616 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.5443, allocations: 27.98 kB / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.5444, allocations: 49.64 kB / 0.6161 GB, free: 5.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5445, allocations: 77.7 kB / 0.6162 GB, free: 4.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5445, allocations: 7.938 kB / 0.6162 GB, free: 4.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002132/0.5448, allocations: 129.4 kB / 0.6163 GB, free: 4.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5448, allocations: 4 kB / 0.6163 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5448, allocations: 0 / 0.6163 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5448, allocations: 4 kB / 0.6163 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.5449, allocations: 19.98 kB / 0.6163 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5449, allocations: 4.031 kB / 0.6163 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.545, allocations: 4 kB / 0.6163 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.545, allocations: 8 kB / 0.6163 GB, free: 4.805 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 (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.0001034/0.5451, allocations: 141.7 kB / 0.6165 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.5451, allocations: 11.81 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.5454, allocations: 147 kB / 0.6166 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5455, allocations: 4 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5455, allocations: 3.938 kB / 0.6166 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5455, allocations: 7.984 kB / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.546, allocations: 476 kB / 0.6171 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.546, allocations: 0 / 0.6171 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.5461, allocations: 15.94 kB / 0.6171 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5461, allocations: 0 / 0.6171 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5461, allocations: 15.92 kB / 0.6171 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5461, allocations: 4.062 kB / 0.6171 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5461, allocations: 4 kB / 0.6171 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5464, allocations: 229 kB / 0.6173 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.5464, allocations: 104.8 kB / 0.6174 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.5465, allocations: 15.88 kB / 0.6175 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.5466, allocations: 7.984 kB / 0.6175 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.5466, allocations: 11.98 kB / 0.6175 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5466, allocations: 7.984 kB / 0.6175 GB, free: 3.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.5468, allocations: 161.2 kB / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5468, allocations: 0 / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.5471, allocations: 43.98 kB / 0.6177 GB, free: 3.305 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: 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 (12): * Single equations (assignments): 10 * 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.001103/0.5482, allocations: 0.5222 MB / 0.6182 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.5484, allocations: 83.91 kB / 0.6183 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5484, allocations: 0 / 0.6183 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.5485, allocations: 47.91 kB / 0.6183 GB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.5488, allocations: 34.91 kB / 0.6183 GB, free: 2.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.5494, allocations: 311.9 kB / 0.6186 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5496, allocations: 0.7237 MB / 0.6194 GB, free: 1.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.596e-05/0.5497, allocations: 16.64 kB / 0.6194 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.5498, allocations: 19.44 kB / 0.6194 GB, free: 1.684 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5498, allocations: 0 / 0.6194 GB, free: 1.684 MB / 426.7 MB Notification: Performance of Templates: time 0.004935/0.5547, allocations: 1.999 MB / 0.6213 GB, free: 15.69 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches