Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 186 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 102.6 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5046/0.5046, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007392/0.0007396, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1557, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.6174, allocations: 87.68 MB / 0.5644 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.6177, allocations: 71.97 kB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.6424, allocations: 5.289 MB / 0.5696 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6425, allocations: 3.562 kB / 0.5696 GB, free: 9.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.6425, allocations: 0.5469 kB / 0.5696 GB, free: 9.719 MB / 394.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.000701/0.6432, allocations: 418.4 kB / 0.57 GB, free: 9.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6433, allocations: 16.02 kB / 0.57 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.6433, allocations: 15.28 kB / 0.57 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.6438, allocations: 217.9 kB / 0.5702 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.6438, allocations: 4 kB / 0.5702 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.6438, allocations: 4 kB / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.644, allocations: 57.61 kB / 0.5703 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6441, allocations: 0 / 0.5703 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6441, allocations: 0 / 0.5703 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6441, allocations: 1.031 kB / 0.5703 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.6442, allocations: 19.98 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.6448, allocations: 304.8 kB / 0.5706 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6451, allocations: 58.62 kB / 0.5707 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6451, allocations: 4 kB / 0.5707 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.6453, allocations: 71.44 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.6454, allocations: 4 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008077/0.6462, allocations: 177.2 kB / 0.5709 GB, free: 8.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6462, allocations: 55.36 kB / 0.571 GB, free: 8.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.6465, allocations: 165.4 kB / 0.5711 GB, free: 7.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.6466, allocations: 29.7 kB / 0.5711 GB, free: 7.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.6466, allocations: 158.6 kB / 0.5713 GB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.6467, allocations: 27.64 kB / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6467, allocations: 0 / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6468, allocations: 322.8 kB / 0.5716 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.647, allocations: 19.98 kB / 0.5717 GB, free: 7.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.6471, allocations: 33.7 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.6472, allocations: 32.05 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6472, allocations: 0 / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002944/0.6475, allocations: 97.52 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6475, allocations: 4 kB / 0.5718 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6476, allocations: 4.781 kB / 0.5718 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6476, allocations: 4 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.6477, allocations: 19.98 kB / 0.5718 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6478, allocations: 0 / 0.5718 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.6479, allocations: 7.953 kB / 0.5718 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.6479, allocations: 4 kB / 0.5719 GB, free: 7.199 MB / 394.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.0001488/0.6481, allocations: 129.8 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.6481, allocations: 7.906 kB / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.6485, allocations: 126.4 kB / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6485, allocations: 0 / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6486, allocations: 7.984 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6486, allocations: 0 / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.6493, allocations: 419.2 kB / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6493, allocations: 0 / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.6494, allocations: 8.875 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6494, allocations: 4.031 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.6494, allocations: 4 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6495, allocations: 3.953 kB / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6495, allocations: 3.938 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.6499, allocations: 217.9 kB / 0.5727 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.65, allocations: 93.02 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.65, allocations: 12.31 kB / 0.5728 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.6501, allocations: 4 kB / 0.5728 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.6502, allocations: 8 kB / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.6502, allocations: 7.984 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.6504, allocations: 140.8 kB / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6504, allocations: 0 / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.6508, allocations: 39.92 kB / 0.573 GB, free: 5.867 MB / 394.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.001347/0.6522, allocations: 471.6 kB / 0.5735 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.6526, allocations: 63.91 kB / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6526, allocations: 0 / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6527, allocations: 32.27 kB / 0.5736 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.6531, allocations: 35.5 kB / 0.5736 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.6539, allocations: 286.5 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.6542, allocations: 0.7043 MB / 0.5746 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.6543, allocations: 15.44 kB / 0.5746 GB, free: 4.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6543, allocations: 0 / 0.5746 GB, free: 4.316 MB / 394.7 MB Notification: Performance of Templates: time 0.005434/0.6597, allocations: 1.918 MB / 0.5765 GB, free: 2.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches