Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 201.2 kB / 18.11 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.4/1.4, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.0007695, allocations: 104.9 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4427/0.4427, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 15.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3819, allocations: 62.95 MB / 0.5184 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5412, allocations: 91.41 MB / 0.6077 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004922/0.5419, allocations: 79.94 kB / 0.6078 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03224/0.5741, allocations: 8.088 MB / 0.6157 GB, free: 5.719 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.5742, allocations: 4 kB / 0.6157 GB, free: 5.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.607e-05/0.5743, allocations: 8 kB / 0.6157 GB, free: 5.707 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001074/0.5753, allocations: 0.5624 MB / 0.6162 GB, free: 5.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5754, allocations: 8.031 kB / 0.6162 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.5755, allocations: 24.66 kB / 0.6163 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.5761, allocations: 315.4 kB / 0.6166 GB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.5762, allocations: 12.38 kB / 0.6166 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.5762, allocations: 4.375 kB / 0.6166 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.5764, allocations: 112.6 kB / 0.6167 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5765, allocations: 192 / 0.6167 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5765, allocations: 7.938 kB / 0.6167 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5765, allocations: 0 / 0.6167 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.5766, allocations: 43.97 kB / 0.6167 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.5773, allocations: 393.6 kB / 0.6171 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.5776, allocations: 125.2 kB / 0.6172 GB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5777, allocations: 45.7 kB / 0.6173 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.5778, allocations: 3.938 kB / 0.6173 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.578, allocations: 113.1 kB / 0.6174 GB, free: 3.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.578, allocations: 4 kB / 0.6174 GB, free: 3.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005026/0.5785, allocations: 193.2 kB / 0.6176 GB, free: 3.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5786, allocations: 110.8 kB / 0.6177 GB, free: 3.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.579, allocations: 359.2 kB / 0.618 GB, free: 3.062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.579, allocations: 29.7 kB / 0.6181 GB, free: 3.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.5791, allocations: 136.1 kB / 0.6182 GB, free: 2.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.5792, allocations: 27.72 kB / 0.6182 GB, free: 2.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5792, allocations: 0 / 0.6182 GB, free: 2.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5794, allocations: 342.8 kB / 0.6185 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5795, allocations: 35.97 kB / 0.6186 GB, free: 2.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.5797, allocations: 82.83 kB / 0.6187 GB, free: 2.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5799, allocations: 111.3 kB / 0.6188 GB, free: 2.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5799, allocations: 0 / 0.6188 GB, free: 2.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003292/0.5803, allocations: 149.2 kB / 0.6189 GB, free: 2.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.5803, allocations: 4 kB / 0.6189 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5803, allocations: 7.922 kB / 0.6189 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5803, allocations: 7.984 kB / 0.6189 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5805, allocations: 16 kB / 0.6189 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.5805, allocations: 15.98 kB / 0.6189 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5806, allocations: 12 kB / 0.619 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5806, allocations: 4 kB / 0.619 GB, free: 2.047 MB / 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001932/0.5808, allocations: 150.4 kB / 0.6191 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.5809, allocations: 27.62 kB / 0.6191 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.5814, allocations: 183.5 kB / 0.6193 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5814, allocations: 4 kB / 0.6193 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5814, allocations: 0 / 0.6193 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5814, allocations: 4 kB / 0.6193 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.5818, allocations: 269.4 kB / 0.6196 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5818, allocations: 0 / 0.6196 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.5819, allocations: 12 kB / 0.6196 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5819, allocations: 0 / 0.6196 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.5819, allocations: 11.94 kB / 0.6196 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5819, allocations: 0 / 0.6196 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5819, allocations: 0 / 0.6196 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.5823, allocations: 201 kB / 0.6198 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5824, allocations: 120.7 kB / 0.6199 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.5825, allocations: 4 kB / 0.6199 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.5825, allocations: 8 kB / 0.6199 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.5826, allocations: 11.98 kB / 0.6199 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5826, allocations: 7.984 kB / 0.6199 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003129/0.583, allocations: 261.9 kB / 0.6202 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.583, allocations: 0 / 0.6202 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.5833, allocations: 47.94 kB / 0.6202 GB, free: 0.6445 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001122/0.5844, allocations: 436.9 kB / 0.6206 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.5848, allocations: 103.9 kB / 0.6207 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5848, allocations: 0 / 0.6207 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.5849, allocations: 56.03 kB / 0.6208 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.5854, allocations: 63.22 kB / 0.6209 GB, free: 144 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.5863, allocations: 448 kB / 0.6213 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5867, allocations: 0.7479 MB / 0.622 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.5869, allocations: 46 kB / 0.6221 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.5869, allocations: 23.44 kB / 0.6221 GB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.587, allocations: 0 / 0.6221 GB, free: 14.83 MB / 442.7 MB Notification: Performance of Templates: time 0.008294/0.5953, allocations: 3.037 MB / 0.625 GB, free: 11.81 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches