Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 186.4 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 2.056/2.056, 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.001131/0.001131, allocations: 93.48 kB / 270.9 MB, free: 8.363 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.509/0.509, allocations: 43.55 MB / 362.7 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004921, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.6017, allocations: 86.43 MB / 0.5631 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.602, allocations: 75.97 kB / 0.5632 GB, free: 48 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.6181, allocations: 3.171 MB / 0.5663 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6182, allocations: 0 / 0.5663 GB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.6182, allocations: 4 kB / 0.5663 GB, free: 12.88 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005704/0.6188, allocations: 358.4 kB / 0.5666 GB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.6189, allocations: 8.031 kB / 0.5667 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.6189, allocations: 11.91 kB / 0.5667 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.6192, allocations: 175 kB / 0.5668 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.6193, allocations: 4 kB / 0.5668 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.6193, allocations: 11.98 kB / 0.5668 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.6198, allocations: 180.3 kB / 0.567 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6198, allocations: 3.938 kB / 0.567 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.6199, allocations: 8 kB / 0.567 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.6199, allocations: 4.344 kB / 0.567 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.6202, allocations: 66.91 kB / 0.5671 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.6221, allocations: 1.705 MB / 0.5688 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.6223, allocations: 169.1 kB / 0.5689 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.6224, allocations: 75.28 kB / 0.569 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.975e-05/0.6225, allocations: 109.8 kB / 0.5691 GB, free: 9.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.757e-06/0.6225, allocations: 4 kB / 0.5691 GB, free: 9.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001516/0.6227, allocations: 41.48 kB / 0.5691 GB, free: 9.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.6228, allocations: 126.7 kB / 0.5693 GB, free: 9.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.6232, allocations: 176.3 kB / 0.5694 GB, free: 9.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.6232, allocations: 25.7 kB / 0.5695 GB, free: 9.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.6235, allocations: 213.6 kB / 0.5697 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.6235, allocations: 3.984 kB / 0.5697 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.6235, allocations: 0 / 0.5697 GB, free: 9.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.6237, allocations: 322.8 kB / 0.57 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6239, allocations: 31.97 kB / 0.57 GB, free: 8.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.6242, allocations: 158 kB / 0.5702 GB, free: 8.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6245, allocations: 67.95 kB / 0.5702 GB, free: 8.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6245, allocations: 0 / 0.5702 GB, free: 8.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007398/0.6253, allocations: 193.2 kB / 0.5704 GB, free: 8.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.6253, allocations: 11.95 kB / 0.5704 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.6254, allocations: 4 kB / 0.5704 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.6254, allocations: 4.625 kB / 0.5704 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.6258, allocations: 47.92 kB / 0.5705 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.6258, allocations: 7.938 kB / 0.5705 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6261, allocations: 19.75 kB / 0.5705 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.6261, allocations: 12 kB / 0.5705 GB, free: 8.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002576/0.6264, allocations: 221 kB / 0.5707 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.6265, allocations: 108.9 kB / 0.5708 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.6267, allocations: 120.7 kB / 0.5709 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.645e-05/0.6268, allocations: 184.9 kB / 0.5711 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/0.6269, allocations: 184.2 kB / 0.5713 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/0.627, allocations: 176.3 kB / 0.5715 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.6275, allocations: 424.7 kB / 0.5719 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-05/0.6276, allocations: 108.9 kB / 0.572 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.6276, allocations: 111 kB / 0.5721 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.6278, allocations: 185 kB / 0.5722 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/0.6279, allocations: 176.3 kB / 0.5724 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001047/0.628, allocations: 185.2 kB / 0.5726 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.439e-05/0.6281, allocations: 180.2 kB / 0.5728 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.6284, allocations: 315.7 kB / 0.5731 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.6286, allocations: 190 kB / 0.5732 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6287, allocations: 180.3 kB / 0.5734 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6289, allocations: 112.7 kB / 0.5735 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6291, allocations: 184.2 kB / 0.5737 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.6292, allocations: 108.9 kB / 0.5738 GB, free: 4.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.6295, allocations: 132.8 kB / 0.5739 GB, free: 4.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6295, allocations: 0 / 0.5739 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.6301, allocations: 12 kB / 0.5739 GB, free: 4.477 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 (0): * Single equations (assignments): 0 * 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.0009405/0.6311, allocations: 285.3 kB / 0.5742 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.6315, allocations: 71.97 kB / 0.5743 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6315, allocations: 0 / 0.5743 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.6315, allocations: 0 / 0.5743 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.6321, allocations: 0.5274 MB / 0.5748 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.633, allocations: 310.9 kB / 0.5751 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.6335, allocations: 0.7086 MB / 0.5758 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.6336, allocations: 15.44 kB / 0.5758 GB, free: 2.574 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6336, allocations: 4 kB / 0.5758 GB, free: 2.57 MB / 394.7 MB Notification: Performance of Templates: time 0.00423/0.6379, allocations: 1.291 MB / 0.5771 GB, free: 1.285 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches