Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 200.4 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 104.1 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4066/0.4066, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004361, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4567, allocations: 62.96 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5979, allocations: 90.47 MB / 0.6068 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5983, allocations: 79.95 kB / 0.6069 GB, free: 14.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.6183, allocations: 6.352 MB / 0.6131 GB, free: 8.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6183, allocations: 0 / 0.6131 GB, free: 8.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6184, allocations: 0 / 0.6131 GB, free: 8.414 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007176/0.6191, allocations: 438.9 kB / 0.6135 GB, free: 7.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6191, allocations: 8.031 kB / 0.6135 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.6192, allocations: 12.84 kB / 0.6135 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.6196, allocations: 220.6 kB / 0.6137 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6196, allocations: 4.375 kB / 0.6137 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.6196, allocations: 4.359 kB / 0.6137 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6198, allocations: 50.23 kB / 0.6138 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6198, allocations: 4.172 kB / 0.6138 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.6198, allocations: 7.938 kB / 0.6138 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6198, allocations: 0 / 0.6138 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.6199, allocations: 19.92 kB / 0.6138 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.6202, allocations: 189.7 kB / 0.614 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.6204, allocations: 50.61 kB / 0.614 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.6205, allocations: 16.86 kB / 0.614 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.6205, allocations: 8 kB / 0.614 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.6207, allocations: 67.38 kB / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.6207, allocations: 0 / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003471/0.6211, allocations: 105.4 kB / 0.6142 GB, free: 7.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6211, allocations: 51.41 kB / 0.6143 GB, free: 6.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.6214, allocations: 196.1 kB / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.6214, allocations: 25.7 kB / 0.6145 GB, free: 6.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.6215, allocations: 108.1 kB / 0.6146 GB, free: 6.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.6215, allocations: 19.81 kB / 0.6146 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.6215, allocations: 4 kB / 0.6146 GB, free: 6.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6217, allocations: 326.8 kB / 0.6149 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.6217, allocations: 12 kB / 0.6149 GB, free: 6.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.6218, allocations: 29.7 kB / 0.615 GB, free: 6.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.6219, allocations: 53.89 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6219, allocations: 0 / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.6221, allocations: 89.44 kB / 0.6151 GB, free: 6.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6221, allocations: 7.938 kB / 0.6151 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6221, allocations: 0 / 0.6151 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6222, allocations: 4 kB / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.6223, allocations: 11.98 kB / 0.6151 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6223, allocations: 0 / 0.6151 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.6223, allocations: 7.938 kB / 0.6151 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6223, allocations: 4.031 kB / 0.6151 GB, free: 6.07 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 (7): * Single equations (assignments): 7 * 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.0001154/0.6225, allocations: 128.2 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.6225, allocations: 15.84 kB / 0.6153 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6227, allocations: 102.5 kB / 0.6154 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6227, allocations: 0 / 0.6154 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6228, allocations: 0 / 0.6154 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6228, allocations: 0 / 0.6154 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.623, allocations: 185.6 kB / 0.6155 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.623, allocations: 4 kB / 0.6155 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.623, allocations: 12 kB / 0.6155 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.623, allocations: 3.938 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.623, allocations: 0 / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6231, allocations: 3.984 kB / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6231, allocations: 0 / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.6233, allocations: 113 kB / 0.6157 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.6234, allocations: 92.92 kB / 0.6158 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.6234, allocations: 12.12 kB / 0.6158 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.6235, allocations: 11.98 kB / 0.6158 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.6235, allocations: 0 / 0.6158 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6235, allocations: 4 kB / 0.6158 GB, free: 5.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.6237, allocations: 143.2 kB / 0.6159 GB, free: 5.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6237, allocations: 0 / 0.6159 GB, free: 5.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.6239, allocations: 27.92 kB / 0.6159 GB, free: 5.133 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001107/0.625, allocations: 418.5 kB / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.6252, allocations: 47.92 kB / 0.6164 GB, free: 4.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6253, allocations: 0 / 0.6164 GB, free: 4.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.6253, allocations: 23.98 kB / 0.6164 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.6256, allocations: 25.25 kB / 0.6164 GB, free: 4.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.6261, allocations: 221.5 kB / 0.6166 GB, free: 4.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.6265, allocations: 0.7083 MB / 0.6173 GB, free: 3.789 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.6266, allocations: 12.42 kB / 0.6173 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.6266, allocations: 15.42 kB / 0.6174 GB, free: 3.762 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6266, allocations: 4 kB / 0.6174 GB, free: 3.758 MB / 426.7 MB Notification: Performance of Templates: time 0.00454/0.6312, allocations: 1.504 MB / 0.6188 GB, free: 2.266 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches