Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008382, allocations: 104.6 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3777/0.3777, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003259, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4309, allocations: 62.96 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5692, allocations: 90.66 MB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5695, allocations: 79.95 kB / 0.607 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01923/0.5888, allocations: 6.623 MB / 0.6135 GB, free: 7.914 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5888, allocations: 0 / 0.6135 GB, free: 7.914 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.5889, allocations: 4 kB / 0.6135 GB, free: 7.91 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.0007013/0.5896, allocations: 462.8 kB / 0.6139 GB, free: 7.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5896, allocations: 8.031 kB / 0.614 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.5897, allocations: 12.84 kB / 0.614 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.5901, allocations: 232.4 kB / 0.6142 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5901, allocations: 384 / 0.6142 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.5902, allocations: 8.375 kB / 0.6142 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5903, allocations: 54.23 kB / 0.6143 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5903, allocations: 192 / 0.6143 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5904, allocations: 7.875 kB / 0.6143 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5904, allocations: 4 kB / 0.6143 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.5905, allocations: 19.98 kB / 0.6143 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.591, allocations: 300.8 kB / 0.6146 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.5912, allocations: 66.55 kB / 0.6146 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.5913, allocations: 20.84 kB / 0.6147 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.5913, allocations: 4 kB / 0.6147 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.5915, allocations: 67.39 kB / 0.6147 GB, free: 6.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.5915, allocations: 0 / 0.6147 GB, free: 6.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007406/0.5922, allocations: 177.1 kB / 0.6149 GB, free: 6.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.5923, allocations: 59.41 kB / 0.6149 GB, free: 6.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.5926, allocations: 216.3 kB / 0.6152 GB, free: 6.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5926, allocations: 33.7 kB / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.5927, allocations: 112 kB / 0.6153 GB, free: 5.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.5928, allocations: 31.58 kB / 0.6153 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5928, allocations: 0 / 0.6153 GB, free: 5.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.593, allocations: 330.8 kB / 0.6156 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.593, allocations: 23.92 kB / 0.6157 GB, free: 5.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.5931, allocations: 33.7 kB / 0.6157 GB, free: 5.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.5933, allocations: 73.75 kB / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5933, allocations: 0 / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002141/0.5935, allocations: 101.5 kB / 0.6159 GB, free: 5.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5935, allocations: 4 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5935, allocations: 3.984 kB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5936, allocations: 4 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.5937, allocations: 12 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5937, allocations: 0 / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.5937, allocations: 8.031 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5938, allocations: 7.922 kB / 0.6159 GB, free: 5.223 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.0001223/0.5939, allocations: 129.8 kB / 0.616 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.5939, allocations: 15.81 kB / 0.616 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.5942, allocations: 123.2 kB / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5942, allocations: 96 / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5942, allocations: 7.938 kB / 0.6162 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5942, allocations: 0 / 0.6162 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.5948, allocations: 427.2 kB / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5948, allocations: 0 / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.5948, allocations: 8 kB / 0.6166 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5948, allocations: 4 kB / 0.6166 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5949, allocations: 3.984 kB / 0.6166 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5949, allocations: 0 / 0.6166 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5949, allocations: 7.938 kB / 0.6166 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.5951, allocations: 212.2 kB / 0.6168 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.5952, allocations: 100.9 kB / 0.6169 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.5953, allocations: 0 / 0.6169 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.5953, allocations: 8 kB / 0.6169 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5954, allocations: 15.91 kB / 0.6169 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.5954, allocations: 0 / 0.6169 GB, free: 4.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.5956, allocations: 173.2 kB / 0.6171 GB, free: 3.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.5956, allocations: 0 / 0.6171 GB, free: 3.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.5959, allocations: 43.88 kB / 0.6171 GB, free: 3.859 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.001122/0.597, allocations: 471.1 kB / 0.6176 GB, free: 3.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5972, allocations: 63.91 kB / 0.6176 GB, free: 3.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5972, allocations: 0 / 0.6176 GB, free: 3.492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.5973, allocations: 31.98 kB / 0.6177 GB, free: 3.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.5977, allocations: 19.98 kB / 0.6177 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.5982, allocations: 282.6 kB / 0.6179 GB, free: 3.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5986, allocations: 0.716 MB / 0.6186 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.5987, allocations: 12.56 kB / 0.6187 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.5987, allocations: 23.42 kB / 0.6187 GB, free: 2.363 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5987, allocations: 0 / 0.6187 GB, free: 2.363 MB / 426.7 MB Notification: Performance of Templates: time 0.00483/0.6036, allocations: 1.762 MB / 0.6204 GB, free: 0.6133 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches