Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002179, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001577/0.001577, allocations: 92.36 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.5065/0.5065, allocations: 43.57 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006204/0.0006204, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5834, allocations: 87.93 MB / 0.5646 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5837, allocations: 73.23 kB / 0.5647 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04097/0.6247, allocations: 5.964 MB / 0.5705 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.6248, allocations: 0.5469 kB / 0.5705 GB, free: 8.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.6248, allocations: 4 kB / 0.5705 GB, free: 8.789 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.0008681/0.6257, allocations: 410 kB / 0.5709 GB, free: 8.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.6258, allocations: 17.33 kB / 0.5709 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.6259, allocations: 11.34 kB / 0.5709 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.6264, allocations: 198.8 kB / 0.5711 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.6265, allocations: 15.94 kB / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.6266, allocations: 0 / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.6269, allocations: 71.39 kB / 0.5712 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6269, allocations: 0 / 0.5712 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.627, allocations: 1.031 kB / 0.5712 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.627, allocations: 4 kB / 0.5712 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.6272, allocations: 23.91 kB / 0.5712 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.6279, allocations: 292.8 kB / 0.5715 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.6283, allocations: 66.66 kB / 0.5716 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.6284, allocations: 0 / 0.5716 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.6287, allocations: 71.45 kB / 0.5716 GB, free: 7.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.6287, allocations: 2.719 kB / 0.5716 GB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001183/0.6299, allocations: 173.2 kB / 0.5718 GB, free: 7.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.63, allocations: 81.11 kB / 0.5719 GB, free: 7.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.6304, allocations: 147.2 kB / 0.572 GB, free: 7.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.6304, allocations: 29.69 kB / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.6306, allocations: 158.6 kB / 0.5722 GB, free: 6.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.6306, allocations: 19.72 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.6307, allocations: 0 / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6309, allocations: 322.8 kB / 0.5725 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.631, allocations: 12 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.6313, allocations: 50.56 kB / 0.5726 GB, free: 6.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.6314, allocations: 23.98 kB / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6315, allocations: 0 / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004776/0.632, allocations: 101.5 kB / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.632, allocations: 7.984 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6321, allocations: 7.953 kB / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.6321, allocations: 0 / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.6323, allocations: 16.06 kB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6324, allocations: 4.719 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.6325, allocations: 7.984 kB / 0.5727 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6326, allocations: 4 kB / 0.5728 GB, free: 6.266 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.0002051/0.6328, allocations: 117.8 kB / 0.5729 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.6329, allocations: 11.91 kB / 0.5729 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.6336, allocations: 119.3 kB / 0.573 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6336, allocations: 7.953 kB / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6336, allocations: 7.938 kB / 0.573 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6337, allocations: 288 / 0.573 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.6348, allocations: 399.2 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.6348, allocations: 4.359 kB / 0.5734 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.635, allocations: 19.89 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.635, allocations: 4 kB / 0.5734 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.6351, allocations: 4 kB / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.6351, allocations: 4.031 kB / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6351, allocations: 4 kB / 0.5734 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.6357, allocations: 217.9 kB / 0.5736 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.6359, allocations: 92.92 kB / 0.5737 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.6359, allocations: 4 kB / 0.5737 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.6362, allocations: 11.98 kB / 0.5737 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.6362, allocations: 0 / 0.5737 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.6363, allocations: 8 kB / 0.5737 GB, free: 5.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.6365, allocations: 127 kB / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.6366, allocations: 0 / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006477/0.6372, allocations: 39.98 kB / 0.5739 GB, free: 4.973 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.002345/0.6396, allocations: 0.4931 MB / 0.5744 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.6402, allocations: 63.91 kB / 0.5744 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6402, allocations: 0 / 0.5744 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.6404, allocations: 32.05 kB / 0.5745 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.641, allocations: 27.94 kB / 0.5745 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.6419, allocations: 253.9 kB / 0.5747 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.6424, allocations: 0.7043 MB / 0.5754 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.6425, allocations: 19.42 kB / 0.5755 GB, free: 3.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.973e-06/0.6425, allocations: 0 / 0.5755 GB, free: 3.43 MB / 394.7 MB Notification: Performance of Templates: time 0.008932/0.6515, allocations: 2.066 MB / 0.5775 GB, free: 1.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches