Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002188/0.002188, allocations: 196.5 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.432/1.432, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007885/0.0007887, allocations: 104.7 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3654/0.3654, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3924, allocations: 62.97 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.5193, allocations: 90.71 MB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5196, allocations: 83.94 kB / 0.6071 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.5389, allocations: 6.974 MB / 0.6139 GB, free: 7.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.539, allocations: 0 / 0.6139 GB, free: 7.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.539, allocations: 4 kB / 0.6139 GB, free: 7.52 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.0006724/0.5397, allocations: 470.8 kB / 0.6144 GB, free: 7.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5397, allocations: 8.031 kB / 0.6144 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.5398, allocations: 16.75 kB / 0.6144 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.5401, allocations: 248.1 kB / 0.6146 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5402, allocations: 4.375 kB / 0.6146 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5402, allocations: 4.359 kB / 0.6146 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5404, allocations: 58.23 kB / 0.6147 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5404, allocations: 4.188 kB / 0.6147 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.5404, allocations: 7.938 kB / 0.6147 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5404, allocations: 0 / 0.6147 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.24e-05/0.5405, allocations: 23.98 kB / 0.6147 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.541, allocations: 316.8 kB / 0.615 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.5412, allocations: 70.42 kB / 0.6151 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.5413, allocations: 32.97 kB / 0.6151 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5413, allocations: 0 / 0.6151 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.5415, allocations: 67.39 kB / 0.6152 GB, free: 6.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.5415, allocations: 0 / 0.6152 GB, free: 6.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007654/0.5422, allocations: 249.3 kB / 0.6154 GB, free: 5.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5423, allocations: 55.41 kB / 0.6155 GB, free: 5.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.5426, allocations: 250.5 kB / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.5426, allocations: 29.7 kB / 0.6157 GB, free: 5.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.5427, allocations: 116.1 kB / 0.6159 GB, free: 5.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.5428, allocations: 35.53 kB / 0.6159 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5428, allocations: 4 kB / 0.6159 GB, free: 5.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5429, allocations: 330.8 kB / 0.6162 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.543, allocations: 35.98 kB / 0.6162 GB, free: 4.914 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.748e-05/0.5431, allocations: 45.7 kB / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5432, allocations: 81.64 kB / 0.6164 GB, free: 4.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5432, allocations: 3.938 kB / 0.6164 GB, free: 4.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.5435, allocations: 125.5 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5435, allocations: 4 kB / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5435, allocations: 0 / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5435, allocations: 0 / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.5436, allocations: 35.95 kB / 0.6165 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5436, allocations: 240 / 0.6165 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.5437, allocations: 7.938 kB / 0.6165 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5437, allocations: 4 kB / 0.6165 GB, free: 4.594 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.0001217/0.5438, allocations: 136.2 kB / 0.6167 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.5439, allocations: 19.8 kB / 0.6167 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.5442, allocations: 157.3 kB / 0.6168 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5442, allocations: 11.98 kB / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5442, allocations: 0 / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5442, allocations: 3.984 kB / 0.6169 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.5448, allocations: 491.9 kB / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5448, allocations: 0 / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.5449, allocations: 12 kB / 0.6173 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5449, allocations: 4 kB / 0.6173 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5449, allocations: 8 kB / 0.6173 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.5449, allocations: 7.984 kB / 0.6173 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5449, allocations: 0 / 0.6173 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.5452, allocations: 236.9 kB / 0.6176 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.5453, allocations: 104.9 kB / 0.6177 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.5454, allocations: 7.938 kB / 0.6177 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.5454, allocations: 7.984 kB / 0.6177 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.5455, allocations: 8 kB / 0.6177 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5455, allocations: 11.98 kB / 0.6177 GB, free: 3.273 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.5457, allocations: 188.2 kB / 0.6179 GB, free: 3.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5457, allocations: 0 / 0.6179 GB, free: 3.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.546, allocations: 43.92 kB / 0.6179 GB, free: 3.047 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.001193/0.5472, allocations: 0.5153 MB / 0.6184 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.5474, allocations: 79.91 kB / 0.6185 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5474, allocations: 0 / 0.6185 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.5475, allocations: 47.92 kB / 0.6186 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5479, allocations: 27.97 kB / 0.6186 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.5486, allocations: 332 kB / 0.6189 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5489, allocations: 0.7277 MB / 0.6196 GB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.549, allocations: 24.62 kB / 0.6196 GB, free: 1.426 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.549, allocations: 19.44 kB / 0.6197 GB, free: 1.406 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/0.549, allocations: 0 / 0.6197 GB, free: 1.406 MB / 426.7 MB Notification: Performance of Templates: time 0.005526/0.5546, allocations: 2.061 MB / 0.6217 GB, free: 15.36 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches