Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001057/0.001057, allocations: 91.39 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.6173/0.6173, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 8 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5059/0.63, allocations: 86.85 MB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.6304, allocations: 67.97 kB / 0.5636 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.6478, allocations: 4.163 MB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6479, allocations: 3.844 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.6479, allocations: 0 / 0.5677 GB, free: 11.52 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.0006019/0.6485, allocations: 417.6 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.6486, allocations: 16.02 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.6486, allocations: 11.34 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.6489, allocations: 198.9 kB / 0.5683 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.6489, allocations: 0 / 0.5683 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.649, allocations: 8 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.6492, allocations: 61.62 kB / 0.5683 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6492, allocations: 7.969 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6493, allocations: 5.031 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6493, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.6495, allocations: 39.97 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.65, allocations: 296.8 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.6502, allocations: 46.5 kB / 0.5687 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.6503, allocations: 0 / 0.5687 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6503, allocations: 31.2 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.6503, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001214/0.6515, allocations: 253.1 kB / 0.569 GB, free: 9.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.6516, allocations: 55.41 kB / 0.5691 GB, free: 9.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6519, allocations: 170.4 kB / 0.5692 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6519, allocations: 26.25 kB / 0.5692 GB, free: 9.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.652, allocations: 170.5 kB / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.6521, allocations: 19.66 kB / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.6521, allocations: 4 kB / 0.5694 GB, free: 9.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6522, allocations: 318.8 kB / 0.5697 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6525, allocations: 39.92 kB / 0.5698 GB, free: 9.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6527, allocations: 39.97 kB / 0.5698 GB, free: 9.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.6529, allocations: 43.97 kB / 0.5698 GB, free: 9.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6529, allocations: 0 / 0.5698 GB, free: 9.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005124/0.6534, allocations: 133.6 kB / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6535, allocations: 4 kB / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6535, allocations: 0.5469 kB / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.6535, allocations: 3.953 kB / 0.57 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.6537, allocations: 23.98 kB / 0.57 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6538, allocations: 0 / 0.57 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.6539, allocations: 11.98 kB / 0.57 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6539, allocations: 8 kB / 0.57 GB, free: 8.906 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.0001792/0.6541, allocations: 121.8 kB / 0.5701 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.6542, allocations: 11.81 kB / 0.5702 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000866/0.6551, allocations: 151.3 kB / 0.5703 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.6551, allocations: 4.75 kB / 0.5703 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.6551, allocations: 3.953 kB / 0.5703 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6552, allocations: 0 / 0.5703 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6565, allocations: 415 kB / 0.5707 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6566, allocations: 3.938 kB / 0.5707 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.6568, allocations: 19.98 kB / 0.5707 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6568, allocations: 4 kB / 0.5707 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.6569, allocations: 11.95 kB / 0.5707 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.6569, allocations: 3.938 kB / 0.5707 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6569, allocations: 0 / 0.5707 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008025/0.6577, allocations: 223.4 kB / 0.571 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6579, allocations: 93 kB / 0.571 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.6579, allocations: 0 / 0.571 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.6582, allocations: 19.94 kB / 0.5711 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.6583, allocations: 11.98 kB / 0.5711 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.6583, allocations: 4 kB / 0.5711 GB, free: 7.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.6586, allocations: 140.4 kB / 0.5712 GB, free: 7.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6586, allocations: 0 / 0.5712 GB, free: 7.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005866/0.6592, allocations: 27.94 kB / 0.5712 GB, free: 7.559 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.00176/0.661, allocations: 412.4 kB / 0.5716 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.6619, allocations: 99.88 kB / 0.5717 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6619, allocations: 0 / 0.5717 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.6623, allocations: 55.91 kB / 0.5718 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.6627, allocations: 13.2 kB / 0.5718 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.6637, allocations: 273.3 kB / 0.5721 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.6642, allocations: 0.7043 MB / 0.5727 GB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6644, allocations: 15.44 kB / 0.5728 GB, free: 6.051 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6644, allocations: 3.938 kB / 0.5728 GB, free: 6.047 MB / 394.7 MB Notification: Performance of Templates: time 0.007205/0.6716, allocations: 1.671 MB / 0.5744 GB, free: 4.375 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches