Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002045/0.002045, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.749/1.749, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0008182/0.0008181, allocations: 87.41 kB / 271.9 MB, free: 8.242 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.4045/0.4045, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 58.85 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.5555, allocations: 87.77 MB / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5558, allocations: 75.97 kB / 0.5657 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.5718, allocations: 5.7 MB / 0.5713 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5718, allocations: 0 / 0.5713 GB, free: 8.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5719, allocations: 0 / 0.5713 GB, free: 8.754 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.000609/0.5725, allocations: 445.8 kB / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5725, allocations: 12.03 kB / 0.5717 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.5726, allocations: 12.75 kB / 0.5717 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.5729, allocations: 236.8 kB / 0.572 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5729, allocations: 4.375 kB / 0.572 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.573, allocations: 4.375 kB / 0.572 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.5731, allocations: 62.22 kB / 0.572 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5732, allocations: 4.094 kB / 0.572 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5732, allocations: 3.938 kB / 0.572 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5732, allocations: 7.938 kB / 0.572 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.5733, allocations: 19.98 kB / 0.5721 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.5737, allocations: 316.8 kB / 0.5724 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.5739, allocations: 66.59 kB / 0.5724 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.574, allocations: 20.84 kB / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.574, allocations: 0 / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.5742, allocations: 71.39 kB / 0.5725 GB, free: 7.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5742, allocations: 0 / 0.5725 GB, free: 7.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005607/0.5747, allocations: 177.1 kB / 0.5727 GB, free: 7.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.5748, allocations: 51.41 kB / 0.5727 GB, free: 7.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5751, allocations: 259.7 kB / 0.573 GB, free: 6.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5751, allocations: 33.64 kB / 0.573 GB, free: 6.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.5752, allocations: 112 kB / 0.5731 GB, free: 6.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.5752, allocations: 19.75 kB / 0.5731 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.5752, allocations: 4 kB / 0.5731 GB, free: 6.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5754, allocations: 334.8 kB / 0.5735 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.5754, allocations: 20 kB / 0.5735 GB, free: 6.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.5755, allocations: 33.7 kB / 0.5735 GB, free: 6.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5756, allocations: 66.47 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5756, allocations: 1.031 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.5758, allocations: 110 kB / 0.5737 GB, free: 6.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5759, allocations: 4 kB / 0.5737 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5759, allocations: 0 / 0.5737 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5759, allocations: 4 kB / 0.5737 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.576, allocations: 19.92 kB / 0.5737 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.576, allocations: 0 / 0.5737 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.5761, allocations: 8 kB / 0.5737 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5761, allocations: 4 kB / 0.5737 GB, free: 6.031 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.0001126/0.5762, allocations: 141.8 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.5762, allocations: 15.84 kB / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.5765, allocations: 131.3 kB / 0.574 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5765, allocations: 0 / 0.574 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.5765, allocations: 3.984 kB / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5766, allocations: 0 / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.5771, allocations: 439.1 kB / 0.5744 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5771, allocations: 4.359 kB / 0.5744 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.5771, allocations: 15.97 kB / 0.5744 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5771, allocations: 0 / 0.5744 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.5772, allocations: 12 kB / 0.5744 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5772, allocations: 0 / 0.5744 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5772, allocations: 3.938 kB / 0.5744 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.5774, allocations: 216.1 kB / 0.5747 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.5775, allocations: 97.02 kB / 0.5747 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.5776, allocations: 7.984 kB / 0.5748 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.5777, allocations: 0 / 0.5748 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5777, allocations: 7.938 kB / 0.5748 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.5777, allocations: 15.92 kB / 0.5748 GB, free: 4.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.5779, allocations: 191.3 kB / 0.575 GB, free: 4.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5779, allocations: 0 / 0.575 GB, free: 4.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.5782, allocations: 47.83 kB / 0.575 GB, free: 4.598 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.001039/0.5793, allocations: 476.5 kB / 0.5755 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.5794, allocations: 63.91 kB / 0.5755 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5795, allocations: 0 / 0.5755 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.5795, allocations: 32.05 kB / 0.5756 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.5799, allocations: 25.41 kB / 0.5756 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.5805, allocations: 354.9 kB / 0.5759 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.5808, allocations: 0.7121 MB / 0.5766 GB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.5809, allocations: 27.42 kB / 0.5766 GB, free: 2.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5809, allocations: 0 / 0.5766 GB, free: 2.98 MB / 394.7 MB Notification: Performance of Templates: time 0.004008/0.5849, allocations: 2.134 MB / 0.5787 GB, free: 0.8516 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches