Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002085/0.002085, allocations: 185.5 kB / 16.4 MB, free: 5.746 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.001/2.001, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001129/0.001129, allocations: 95.72 kB / 270.9 MB, free: 8.367 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.5031/0.5031, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004603, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5847, allocations: 87.09 MB / 0.5638 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.585, allocations: 71.95 kB / 0.5638 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.6027, allocations: 4.472 MB / 0.5682 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6028, allocations: 4 kB / 0.5682 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.6028, allocations: 4 kB / 0.5682 GB, free: 11.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005636/0.6034, allocations: 397.7 kB / 0.5686 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6034, allocations: 12.02 kB / 0.5686 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.6035, allocations: 11.34 kB / 0.5686 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.6037, allocations: 186.9 kB / 0.5688 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6038, allocations: 4 kB / 0.5688 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.6038, allocations: 8 kB / 0.5688 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.604, allocations: 83.12 kB / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6041, allocations: 0 / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.6041, allocations: 1.031 kB / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6041, allocations: 0 / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.6044, allocations: 47.95 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.6048, allocations: 296.7 kB / 0.5692 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.605, allocations: 46.56 kB / 0.5693 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.605, allocations: 0 / 0.5693 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6051, allocations: 30.56 kB / 0.5693 GB, free: 9.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.885e-06/0.6051, allocations: 0 / 0.5693 GB, free: 9.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001207/0.6063, allocations: 249.8 kB / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.6064, allocations: 77.11 kB / 0.5696 GB, free: 9.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6066, allocations: 131.4 kB / 0.5697 GB, free: 9.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6066, allocations: 25.7 kB / 0.5698 GB, free: 9.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.6067, allocations: 154.6 kB / 0.5699 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.6067, allocations: 32.25 kB / 0.5699 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/0.6067, allocations: 0 / 0.5699 GB, free: 9.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6069, allocations: 319.2 kB / 0.5702 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.6071, allocations: 43.91 kB / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6074, allocations: 57.69 kB / 0.5703 GB, free: 8.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.6076, allocations: 39.92 kB / 0.5704 GB, free: 8.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6076, allocations: 0 / 0.5704 GB, free: 8.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004864/0.6081, allocations: 125.6 kB / 0.5705 GB, free: 8.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6081, allocations: 4 kB / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6081, allocations: 0 / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6082, allocations: 3.953 kB / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.6084, allocations: 31.97 kB / 0.5705 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6084, allocations: 3.938 kB / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.6085, allocations: 8 kB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.6086, allocations: 7.984 kB / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001055/0.6087, allocations: 117.8 kB / 0.5707 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.6087, allocations: 8.188 kB / 0.5707 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.6093, allocations: 143.4 kB / 0.5708 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6093, allocations: 7.938 kB / 0.5708 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6093, allocations: 4 kB / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6093, allocations: 0 / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.6102, allocations: 410.4 kB / 0.5712 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6102, allocations: 0 / 0.5712 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.6103, allocations: 23.98 kB / 0.5712 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.6104, allocations: 7.953 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6104, allocations: 0.75 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6104, allocations: 0 / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6104, allocations: 0 / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.611, allocations: 231.3 kB / 0.5715 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.611, allocations: 93 kB / 0.5716 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.6111, allocations: 3.953 kB / 0.5716 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.6112, allocations: 15.98 kB / 0.5716 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.6113, allocations: 7.984 kB / 0.5716 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.6113, allocations: 3.938 kB / 0.5716 GB, free: 7.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.6115, allocations: 111.3 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6115, allocations: 0 / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.6118, allocations: 43.86 kB / 0.5717 GB, free: 7.184 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.00124/0.6131, allocations: 446.9 kB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.6136, allocations: 91.89 kB / 0.5722 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6136, allocations: 0 / 0.5722 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.6139, allocations: 51.97 kB / 0.5723 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.6141, allocations: 19.92 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.6147, allocations: 221.2 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.615, allocations: 0.7004 MB / 0.5732 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.6151, allocations: 19.42 kB / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.6151, allocations: 0 / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of Templates: time 0.004999/0.6201, allocations: 1.771 MB / 0.575 GB, free: 3.922 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches