Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 182.2 kB / 16.4 MB, free: 5.723 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.906/1.906, 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.001155/0.001155, allocations: 97.23 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.5108/0.5108, allocations: 43.56 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006377, allocations: 19.98 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1253, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.583, allocations: 87.72 MB / 0.5644 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5833, allocations: 79.95 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02363/0.607, allocations: 5.343 MB / 0.5697 GB, free: 9.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.607, allocations: 4 kB / 0.5697 GB, free: 9.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.607, allocations: 4 kB / 0.5697 GB, free: 9.625 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.0006582/0.6077, allocations: 415.4 kB / 0.5701 GB, free: 9.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6078, allocations: 16.02 kB / 0.5701 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.6079, allocations: 11.34 kB / 0.5701 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.6082, allocations: 212.2 kB / 0.5703 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.6083, allocations: 4 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.6083, allocations: 4 kB / 0.5703 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.6085, allocations: 53.67 kB / 0.5704 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6085, allocations: 0 / 0.5704 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6086, allocations: 0 / 0.5704 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6086, allocations: 5.031 kB / 0.5704 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.6087, allocations: 23.92 kB / 0.5704 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.6092, allocations: 300.6 kB / 0.5707 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.6095, allocations: 62.67 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.6095, allocations: 0 / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.6097, allocations: 63.52 kB / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.6097, allocations: 3.938 kB / 0.5708 GB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008839/0.6106, allocations: 177.3 kB / 0.571 GB, free: 8.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.6107, allocations: 59.36 kB / 0.571 GB, free: 8.074 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.6109, allocations: 165.3 kB / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.611, allocations: 25.7 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.6111, allocations: 166.5 kB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.6111, allocations: 19.8 kB / 0.5714 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.6111, allocations: 0 / 0.5714 GB, free: 7.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6113, allocations: 314.8 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.6114, allocations: 23.98 kB / 0.5717 GB, free: 7.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.6115, allocations: 37.7 kB / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.6116, allocations: 24.7 kB / 0.5718 GB, free: 7.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6116, allocations: 0 / 0.5718 GB, free: 7.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003262/0.612, allocations: 97.59 kB / 0.5719 GB, free: 7.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.612, allocations: 8 kB / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.612, allocations: 80 / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.612, allocations: 0 / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6122, allocations: 15.98 kB / 0.5719 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.6122, allocations: 12.02 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.6123, allocations: 3.953 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.6123, allocations: 4 kB / 0.5719 GB, free: 7.141 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.0001441/0.6125, allocations: 129.8 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.6125, allocations: 9.031 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.6129, allocations: 118.3 kB / 0.5722 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6129, allocations: 0 / 0.5722 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.613, allocations: 4 kB / 0.5722 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.613, allocations: 4 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.6137, allocations: 411.1 kB / 0.5726 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6137, allocations: 288 / 0.5726 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.6138, allocations: 12 kB / 0.5726 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.6138, allocations: 7.984 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6138, allocations: 7.875 kB / 0.5726 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6138, allocations: 3.953 kB / 0.5726 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6139, allocations: 4 kB / 0.5726 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.6142, allocations: 214 kB / 0.5728 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.6143, allocations: 97 kB / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.6144, allocations: 3.953 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6145, allocations: 7.984 kB / 0.5729 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.6146, allocations: 15.98 kB / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6146, allocations: 0 / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.6148, allocations: 133.5 kB / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6148, allocations: 0 / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.6152, allocations: 31.98 kB / 0.5731 GB, free: 5.832 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.001387/0.6166, allocations: 481.5 kB / 0.5735 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.6169, allocations: 59.97 kB / 0.5736 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6169, allocations: 3.938 kB / 0.5736 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.617, allocations: 35.97 kB / 0.5736 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.6174, allocations: 25.14 kB / 0.5737 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.6181, allocations: 278.3 kB / 0.5739 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6184, allocations: 0.7004 MB / 0.5746 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.6185, allocations: 23.42 kB / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6185, allocations: 0 / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of Templates: time 0.005407/0.6239, allocations: 1.886 MB / 0.5765 GB, free: 2.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches