Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001546, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001144/0.001143, allocations: 93.3 kB / 270.9 MB, free: 8.383 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.5149/0.5149, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.000654, allocations: 19.98 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.125, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5724, allocations: 86.74 MB / 0.5634 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5727, allocations: 71.97 kB / 0.5635 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02843/0.6012, allocations: 7.771 MB / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6012, allocations: 0 / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.6013, allocations: 4 kB / 0.5711 GB, free: 8.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008558/0.6021, allocations: 0.6208 MB / 0.5717 GB, free: 7.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6022, allocations: 11.97 kB / 0.5717 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.6023, allocations: 42.91 kB / 0.5718 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.6029, allocations: 328.4 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6029, allocations: 0 / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.603, allocations: 8 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.6031, allocations: 50.72 kB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6032, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6032, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6032, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.6033, allocations: 27.94 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.6041, allocations: 424.7 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.6042, allocations: 34.56 kB / 0.5726 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.6042, allocations: 0 / 0.5726 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6043, allocations: 30.56 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.6043, allocations: 2.906 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000367/0.6047, allocations: 117.2 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6047, allocations: 51.41 kB / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.6066, allocations: 0.7824 MB / 0.5735 GB, free: 5.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.6066, allocations: 25.7 kB / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.6068, allocations: 242.5 kB / 0.5738 GB, free: 5.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.6068, allocations: 7.906 kB / 0.5738 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.6068, allocations: 4.125 kB / 0.5738 GB, free: 5.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.607, allocations: 314.9 kB / 0.5741 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.6071, allocations: 8 kB / 0.5741 GB, free: 4.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.6071, allocations: 12.64 kB / 0.5741 GB, free: 4.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.6072, allocations: 12 kB / 0.5741 GB, free: 4.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6072, allocations: 64 / 0.5741 GB, free: 4.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.6074, allocations: 61.61 kB / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6075, allocations: 8 kB / 0.5742 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6075, allocations: 0 / 0.5742 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6075, allocations: 4.719 kB / 0.5742 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.6076, allocations: 4 kB / 0.5742 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6076, allocations: 3.984 kB / 0.5742 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6077, allocations: 4 kB / 0.5742 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.6078, allocations: 4.031 kB / 0.5742 GB, free: 4.637 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 (2): * Single equations (assignments): 2 * 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.0002659/0.608, allocations: 213.8 kB / 0.5744 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6082, allocations: 43.44 kB / 0.5745 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.6085, allocations: 112.5 kB / 0.5746 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6085, allocations: 4 kB / 0.5746 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6085, allocations: 3.953 kB / 0.5746 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6085, allocations: 4.031 kB / 0.5746 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.609, allocations: 321.4 kB / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.609, allocations: 0 / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.6091, allocations: 11.98 kB / 0.5749 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6091, allocations: 0 / 0.5749 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.6091, allocations: 1.906 kB / 0.5749 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6091, allocations: 0 / 0.5749 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6091, allocations: 0 / 0.5749 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.6094, allocations: 194.9 kB / 0.5751 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.6097, allocations: 156.6 kB / 0.5752 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.6098, allocations: 4 kB / 0.5752 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.6099, allocations: 3.984 kB / 0.5753 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.61, allocations: 8 kB / 0.5753 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.61, allocations: 0 / 0.5753 GB, free: 3.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001139/0.6111, allocations: 0.6549 MB / 0.5759 GB, free: 2.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6111, allocations: 0 / 0.5759 GB, free: 2.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.6116, allocations: 59.86 kB / 0.576 GB, free: 2.766 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 (2): * Single equations (assignments): 2 * 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.0009953/0.6126, allocations: 353 kB / 0.5763 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.6128, allocations: 31.92 kB / 0.5763 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6128, allocations: 0 / 0.5763 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.6129, allocations: 11.98 kB / 0.5763 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.6133, allocations: 21.97 kB / 0.5764 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.6151, allocations: 0.9287 MB / 0.5773 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.6157, allocations: 0.8262 MB / 0.5781 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.6158, allocations: 19.42 kB / 0.5781 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6158, allocations: 0 / 0.5781 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of Templates: time 0.01118/0.627, allocations: 3.979 MB / 0.582 GB, free: 12.63 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches