Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 181.7 kB / 17.41 MB, free: 4.289 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.216/1.216, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007405/0.0007407, allocations: 90.41 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.3023/0.3023, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 16 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3338/0.4508, allocations: 87.75 MB / 0.5656 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004432/0.4513, allocations: 79.95 kB / 0.5657 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03508/0.4864, allocations: 5.641 MB / 0.5712 GB, free: 8.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4865, allocations: 0 / 0.5712 GB, free: 8.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.4865, allocations: 4 kB / 0.5712 GB, free: 8.977 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.0009801/0.4875, allocations: 434.9 kB / 0.5716 GB, free: 8.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.4876, allocations: 12.03 kB / 0.5717 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.4878, allocations: 16.75 kB / 0.5717 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.4883, allocations: 236.7 kB / 0.5719 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4884, allocations: 384 / 0.5719 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.4885, allocations: 8.375 kB / 0.5719 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.4887, allocations: 58.22 kB / 0.572 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4887, allocations: 4.125 kB / 0.572 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4887, allocations: 3.938 kB / 0.572 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.4888, allocations: 4 kB / 0.572 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.489, allocations: 19.98 kB / 0.572 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.4898, allocations: 300.9 kB / 0.5723 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.4901, allocations: 66.55 kB / 0.5723 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.4902, allocations: 24.84 kB / 0.5724 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.4903, allocations: 4 kB / 0.5724 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.4906, allocations: 67.39 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.4906, allocations: 0 / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001178/0.4918, allocations: 185.1 kB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4919, allocations: 55.41 kB / 0.5727 GB, free: 7.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.4923, allocations: 235.8 kB / 0.5729 GB, free: 7.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.4924, allocations: 25.7 kB / 0.5729 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4926, allocations: 116.1 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.4926, allocations: 31.58 kB / 0.573 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4927, allocations: 0 / 0.573 GB, free: 6.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4928, allocations: 330.8 kB / 0.5734 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.493, allocations: 19.98 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4932, allocations: 41.7 kB / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.4935, allocations: 62.52 kB / 0.5735 GB, free: 6.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4935, allocations: 0 / 0.5735 GB, free: 6.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004243/0.494, allocations: 105.4 kB / 0.5736 GB, free: 6.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.494, allocations: 4 kB / 0.5736 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.494, allocations: 4 kB / 0.5736 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4941, allocations: 0 / 0.5736 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.4942, allocations: 15.98 kB / 0.5736 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.4942, allocations: 3.938 kB / 0.5736 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/0.4943, allocations: 4.188 kB / 0.5736 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4944, allocations: 12.03 kB / 0.5736 GB, free: 6.285 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.0002198/0.4947, allocations: 137.2 kB / 0.5738 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4947, allocations: 15.81 kB / 0.5738 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.4952, allocations: 127 kB / 0.5739 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4953, allocations: 4 kB / 0.5739 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4953, allocations: 0 / 0.5739 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.4953, allocations: 0 / 0.5739 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4964, allocations: 431.2 kB / 0.5743 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4964, allocations: 0 / 0.5743 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.4965, allocations: 19.98 kB / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4966, allocations: 0 / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4966, allocations: 0 / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4966, allocations: 4 kB / 0.5743 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4966, allocations: 3.938 kB / 0.5743 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.4971, allocations: 212.2 kB / 0.5745 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.4972, allocations: 100.9 kB / 0.5746 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.4973, allocations: 4 kB / 0.5746 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4975, allocations: 384 / 0.5746 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4976, allocations: 11.92 kB / 0.5746 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.4977, allocations: 8 kB / 0.5747 GB, free: 5.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.4981, allocations: 188.2 kB / 0.5748 GB, free: 4.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4981, allocations: 4 kB / 0.5748 GB, free: 4.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.4986, allocations: 35.94 kB / 0.5749 GB, free: 4.902 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.002012/0.5007, allocations: 479.5 kB / 0.5753 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.5011, allocations: 71.88 kB / 0.5754 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5011, allocations: 0 / 0.5754 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.5013, allocations: 31.98 kB / 0.5754 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.502, allocations: 23.98 kB / 0.5755 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5031, allocations: 334.6 kB / 0.5758 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.5036, allocations: 0.7121 MB / 0.5765 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.5037, allocations: 19.44 kB / 0.5765 GB, free: 3.289 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5038, allocations: 4 kB / 0.5765 GB, free: 3.285 MB / 394.7 MB Notification: Performance of Templates: time 0.007557/0.5113, allocations: 2.058 MB / 0.5785 GB, free: 1.238 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches