Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007951/0.0007952, allocations: 94.84 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.3208/0.3208, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002735, allocations: 19.98 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3783, allocations: 62.96 MB / 0.5184 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5176, allocations: 90.61 MB / 0.6069 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.518, allocations: 83.94 kB / 0.607 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.5373, allocations: 6.384 MB / 0.6132 GB, free: 8.238 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5374, allocations: 4 kB / 0.6132 GB, free: 8.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.5374, allocations: 8 kB / 0.6132 GB, free: 8.227 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.0008105/0.5382, allocations: 446.9 kB / 0.6137 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5383, allocations: 8.031 kB / 0.6137 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.5384, allocations: 12.75 kB / 0.6137 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.5388, allocations: 220.8 kB / 0.6139 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5389, allocations: 384 / 0.6139 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.5389, allocations: 4.375 kB / 0.6139 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.5391, allocations: 62.22 kB / 0.614 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5392, allocations: 4.172 kB / 0.614 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.5392, allocations: 3.938 kB / 0.614 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5392, allocations: 0 / 0.614 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.5393, allocations: 27.92 kB / 0.614 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.5399, allocations: 296.8 kB / 0.6143 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.5401, allocations: 66.61 kB / 0.6143 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.5402, allocations: 20.84 kB / 0.6144 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5402, allocations: 0 / 0.6144 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.5404, allocations: 71.33 kB / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.5404, allocations: 0 / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.541, allocations: 177.1 kB / 0.6146 GB, free: 6.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5411, allocations: 55.41 kB / 0.6147 GB, free: 6.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5413, allocations: 200.1 kB / 0.6148 GB, free: 6.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5413, allocations: 29.7 kB / 0.6149 GB, free: 6.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.5414, allocations: 100.1 kB / 0.615 GB, free: 6.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.5414, allocations: 19.72 kB / 0.615 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.5414, allocations: 4 kB / 0.615 GB, free: 6.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5416, allocations: 326.8 kB / 0.6153 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.5416, allocations: 31.92 kB / 0.6153 GB, free: 5.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.5417, allocations: 41.64 kB / 0.6154 GB, free: 5.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.5419, allocations: 65.69 kB / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5419, allocations: 0 / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.5421, allocations: 105.5 kB / 0.6155 GB, free: 5.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5421, allocations: 4 kB / 0.6155 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5421, allocations: 7.969 kB / 0.6155 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5421, allocations: 4 kB / 0.6156 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.5422, allocations: 12 kB / 0.6156 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5422, allocations: 0 / 0.6156 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.5423, allocations: 11.98 kB / 0.6156 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.5423, allocations: 0 / 0.6156 GB, free: 5.605 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.0001134/0.5424, allocations: 129.7 kB / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.5425, allocations: 7.906 kB / 0.6157 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.5427, allocations: 127 kB / 0.6158 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5427, allocations: 0 / 0.6158 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5428, allocations: 4 kB / 0.6158 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5428, allocations: 0 / 0.6158 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.5432, allocations: 419.2 kB / 0.6162 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5433, allocations: 0 / 0.6162 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.5433, allocations: 15.92 kB / 0.6162 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5433, allocations: 4 kB / 0.6163 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5433, allocations: 4.031 kB / 0.6163 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5433, allocations: 384 / 0.6163 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5433, allocations: 3.938 kB / 0.6163 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.5436, allocations: 204.2 kB / 0.6165 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.5437, allocations: 100.9 kB / 0.6165 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.5437, allocations: 4 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.5438, allocations: 8 kB / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.5438, allocations: 15.92 kB / 0.6166 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5438, allocations: 4.375 kB / 0.6166 GB, free: 4.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.544, allocations: 143.2 kB / 0.6167 GB, free: 4.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.544, allocations: 0 / 0.6167 GB, free: 4.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.5443, allocations: 35.98 kB / 0.6168 GB, free: 4.289 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.001082/0.5454, allocations: 468.7 kB / 0.6172 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.5456, allocations: 59.91 kB / 0.6173 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5456, allocations: 0 / 0.6173 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.5457, allocations: 40.02 kB / 0.6173 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.546, allocations: 32.23 kB / 0.6173 GB, free: 3.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.5466, allocations: 254.1 kB / 0.6176 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.5469, allocations: 0.7083 MB / 0.6183 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.5469, allocations: 16.55 kB / 0.6183 GB, free: 2.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.547, allocations: 15.44 kB / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.547, allocations: 0 / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of Templates: time 0.004369/0.5514, allocations: 1.723 MB / 0.62 GB, free: 1.105 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches