Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00188/0.00188, allocations: 181.3 kB / 17.41 MB, free: 4.406 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.655/1.655, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008616/0.0008619, allocations: 74.44 kB / 271.9 MB, free: 8.258 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.4019/0.4019, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5531, allocations: 87.76 MB / 0.5656 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5535, allocations: 75.97 kB / 0.5657 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.5683, allocations: 5.392 MB / 0.571 GB, free: 9.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5684, allocations: 0 / 0.571 GB, free: 9.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5684, allocations: 4 kB / 0.571 GB, free: 9.238 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.000636/0.5691, allocations: 414 kB / 0.5714 GB, free: 8.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5691, allocations: 8.031 kB / 0.5714 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.5692, allocations: 8.844 kB / 0.5714 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5696, allocations: 231.7 kB / 0.5716 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5696, allocations: 4.375 kB / 0.5716 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.5696, allocations: 4.375 kB / 0.5716 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5698, allocations: 55.11 kB / 0.5717 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5698, allocations: 192 / 0.5717 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5698, allocations: 3.938 kB / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5698, allocations: 0 / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.5699, allocations: 25.89 kB / 0.5717 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.5704, allocations: 300.8 kB / 0.572 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.5706, allocations: 62.62 kB / 0.572 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.5707, allocations: 20.84 kB / 0.5721 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5707, allocations: 0 / 0.5721 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.5709, allocations: 71.39 kB / 0.5721 GB, free: 7.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5709, allocations: 3.938 kB / 0.5721 GB, free: 7.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.5716, allocations: 173.2 kB / 0.5723 GB, free: 7.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5716, allocations: 51.41 kB / 0.5724 GB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.5718, allocations: 186.2 kB / 0.5725 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.5719, allocations: 33.7 kB / 0.5726 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.5719, allocations: 96.14 kB / 0.5727 GB, free: 7.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.572, allocations: 31.62 kB / 0.5727 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.572, allocations: 4 kB / 0.5727 GB, free: 7.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5721, allocations: 326.8 kB / 0.573 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.5722, allocations: 23.98 kB / 0.573 GB, free: 6.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.5723, allocations: 35.86 kB / 0.5731 GB, free: 6.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.5724, allocations: 61.7 kB / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5724, allocations: 0 / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.5726, allocations: 101.4 kB / 0.5732 GB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5727, allocations: 4 kB / 0.5732 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5727, allocations: 4 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5727, allocations: 0 / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5728, allocations: 23.92 kB / 0.5732 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5728, allocations: 0 / 0.5732 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.5729, allocations: 4 kB / 0.5732 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.5729, allocations: 4 kB / 0.5732 GB, free: 6.688 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.000118/0.573, allocations: 138.6 kB / 0.5734 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.573, allocations: 7.906 kB / 0.5734 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.5733, allocations: 118.3 kB / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5733, allocations: 4 kB / 0.5735 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5734, allocations: 0 / 0.5735 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5734, allocations: 288 / 0.5735 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.5739, allocations: 423.4 kB / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5739, allocations: 4.031 kB / 0.5739 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.5739, allocations: 11.94 kB / 0.5739 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5739, allocations: 3.938 kB / 0.5739 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.574, allocations: 4 kB / 0.5739 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.574, allocations: 0 / 0.5739 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.574, allocations: 3.938 kB / 0.5739 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.5743, allocations: 212.5 kB / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.5743, allocations: 97.02 kB / 0.5742 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.5744, allocations: 3.984 kB / 0.5742 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.5744, allocations: 8 kB / 0.5742 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.5745, allocations: 15.88 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.5745, allocations: 7.984 kB / 0.5743 GB, free: 5.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.5747, allocations: 136.8 kB / 0.5744 GB, free: 5.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5747, allocations: 0 / 0.5744 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.575, allocations: 39.92 kB / 0.5744 GB, free: 5.359 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.001089/0.5761, allocations: 466.9 kB / 0.5749 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.5763, allocations: 63.91 kB / 0.5749 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5763, allocations: 0 / 0.5749 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.5764, allocations: 39.98 kB / 0.575 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.5767, allocations: 28.95 kB / 0.575 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.5773, allocations: 282.6 kB / 0.5753 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5777, allocations: 0.7004 MB / 0.576 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.5777, allocations: 15.44 kB / 0.576 GB, free: 3.816 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5777, allocations: 4 kB / 0.576 GB, free: 3.812 MB / 394.7 MB Notification: Performance of Templates: time 0.004282/0.582, allocations: 1.913 MB / 0.5778 GB, free: 1.914 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches