Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 196.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007866, allocations: 95.66 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3885/0.3885, allocations: 44.83 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3949, allocations: 62.97 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.5222, allocations: 90.91 MB / 0.6072 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5225, allocations: 79.94 kB / 0.6073 GB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02617/0.5487, allocations: 9.47 MB / 0.6165 GB, free: 4.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5487, allocations: 4 kB / 0.6165 GB, free: 4.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.5488, allocations: 4 kB / 0.6165 GB, free: 4.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001003/0.5498, allocations: 0.5954 MB / 0.6171 GB, free: 4.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5498, allocations: 8.875 kB / 0.6171 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.5499, allocations: 32.56 kB / 0.6172 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.5505, allocations: 338.2 kB / 0.6175 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.5506, allocations: 384 / 0.6175 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5506, allocations: 12.38 kB / 0.6175 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5508, allocations: 117.7 kB / 0.6176 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5509, allocations: 192 / 0.6176 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.5509, allocations: 7.938 kB / 0.6176 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5509, allocations: 4 kB / 0.6176 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.5511, allocations: 47.97 kB / 0.6177 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.5518, allocations: 0.5045 MB / 0.6182 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.5522, allocations: 130.4 kB / 0.6183 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.5523, allocations: 45.83 kB / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.5523, allocations: 4 kB / 0.6183 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.5526, allocations: 132.2 kB / 0.6185 GB, free: 2.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.5526, allocations: 3.938 kB / 0.6185 GB, free: 2.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001362/0.554, allocations: 0.5079 MB / 0.619 GB, free: 2.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.5541, allocations: 85.05 kB / 0.619 GB, free: 2.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.5547, allocations: 497.6 kB / 0.6195 GB, free: 1.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.5547, allocations: 33.7 kB / 0.6195 GB, free: 1.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.5549, allocations: 164.5 kB / 0.6197 GB, free: 1.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.555, allocations: 74.98 kB / 0.6198 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.555, allocations: 8 kB / 0.6198 GB, free: 1.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5552, allocations: 342.8 kB / 0.6201 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5553, allocations: 59.97 kB / 0.6202 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.5555, allocations: 91.41 kB / 0.6202 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.5558, allocations: 161.1 kB / 0.6204 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5558, allocations: 7.938 kB / 0.6204 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004576/0.5562, allocations: 234.5 kB / 0.6206 GB, free: 360 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5563, allocations: 8.062 kB / 0.6206 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5563, allocations: 0 / 0.6206 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.5563, allocations: 4 kB / 0.6206 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.5565, allocations: 47.8 kB / 0.6207 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.5565, allocations: 7.984 kB / 0.6207 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.5566, allocations: 11.94 kB / 0.6207 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.5567, allocations: 12 kB / 0.6207 GB, free: 268 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002157/0.5569, allocations: 174.2 kB / 0.6209 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.557, allocations: 39.53 kB / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.5576, allocations: 286.7 kB / 0.6212 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.5576, allocations: 3.938 kB / 0.6212 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5576, allocations: 4 kB / 0.6212 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.5576, allocations: 3.984 kB / 0.6212 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.5588, allocations: 0.8052 MB / 0.622 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5589, allocations: 0 / 0.622 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.559, allocations: 35.92 kB / 0.622 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.559, allocations: 0 / 0.622 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.559, allocations: 12 kB / 0.622 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.559, allocations: 0 / 0.622 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.559, allocations: 12.12 kB / 0.6221 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.5596, allocations: 449.3 kB / 0.6225 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.5597, allocations: 136.6 kB / 0.6226 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.5598, allocations: 8 kB / 0.6226 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.56, allocations: 7.984 kB / 0.6226 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.56, allocations: 27.86 kB / 0.6227 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.5601, allocations: 15.98 kB / 0.6227 GB, free: 14.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.5605, allocations: 367.1 kB / 0.623 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5605, allocations: 0 / 0.623 GB, free: 13.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004442/0.561, allocations: 71.92 kB / 0.6231 GB, free: 13.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001444/0.5624, allocations: 0.5306 MB / 0.6236 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.5628, allocations: 159.7 kB / 0.6238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5628, allocations: 0 / 0.6238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.563, allocations: 91.83 kB / 0.6238 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.5636, allocations: 60.91 kB / 0.6239 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.5648, allocations: 0.6835 MB / 0.6246 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.5652, allocations: 0.7875 MB / 0.6253 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.5653, allocations: 65.84 kB / 0.6254 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.5654, allocations: 31.44 kB / 0.6254 GB, free: 11.42 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5654, allocations: 0 / 0.6254 GB, free: 11.42 MB / 442.7 MB Notification: Performance of Templates: time 0.007695/0.5731, allocations: 3.433 MB / 0.6288 GB, free: 8.012 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches