Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009908/0.000991, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.529/1.529, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007951/0.0007952, allocations: 82.36 kB / 271.9 MB, free: 8.258 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.3725/0.3725, allocations: 43.56 MB / 363.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003832, allocations: 19.98 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 58.86 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3175/0.4433, allocations: 86.25 MB / 0.5642 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4436, allocations: 76.05 kB / 0.5642 GB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006786/0.4504, allocations: 3.153 MB / 0.5673 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4504, allocations: 0 / 0.5673 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.4504, allocations: 7.094 kB / 0.5673 GB, free: 12.79 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.0003601/0.4508, allocations: 370 kB / 0.5677 GB, free: 12.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4508, allocations: 8.031 kB / 0.5677 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.4509, allocations: 8.844 kB / 0.5677 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.451, allocations: 172.3 kB / 0.5679 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.451, allocations: 4.375 kB / 0.5679 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4511, allocations: 8.375 kB / 0.5679 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4513, allocations: 188.3 kB / 0.568 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4513, allocations: 4.188 kB / 0.568 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4513, allocations: 7.938 kB / 0.5681 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4514, allocations: 7.984 kB / 0.5681 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.4514, allocations: 63.72 kB / 0.5681 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.4524, allocations: 1.701 MB / 0.5698 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.4525, allocations: 173.1 kB / 0.57 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.4525, allocations: 84.14 kB / 0.57 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4526, allocations: 79.22 kB / 0.5701 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.4526, allocations: 105.8 kB / 0.5702 GB, free: 9.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.4526, allocations: 3.828 kB / 0.5702 GB, free: 9.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.487e-05/0.4527, allocations: 33.61 kB / 0.5702 GB, free: 9.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.4528, allocations: 130.7 kB / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.453, allocations: 185.1 kB / 0.5705 GB, free: 9.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.453, allocations: 33.64 kB / 0.5706 GB, free: 9.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.4531, allocations: 143.2 kB / 0.5707 GB, free: 9.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.4531, allocations: 4 kB / 0.5707 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.4531, allocations: 4 kB / 0.5707 GB, free: 9.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4533, allocations: 322.8 kB / 0.571 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.4533, allocations: 27.98 kB / 0.5711 GB, free: 8.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4535, allocations: 154.4 kB / 0.5712 GB, free: 8.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4537, allocations: 204.8 kB / 0.5714 GB, free: 8.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4537, allocations: 4 kB / 0.5714 GB, free: 8.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000296/0.454, allocations: 201.3 kB / 0.5716 GB, free: 7.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.454, allocations: 4 kB / 0.5716 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.454, allocations: 4 kB / 0.5716 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.454, allocations: 8.562 kB / 0.5716 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4542, allocations: 35.92 kB / 0.5716 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.4542, allocations: 11.94 kB / 0.5717 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.4543, allocations: 27.73 kB / 0.5717 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4543, allocations: 8.406 kB / 0.5717 GB, free: 7.875 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.0001207/0.4544, allocations: 213 kB / 0.5719 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.4545, allocations: 117.5 kB / 0.572 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.4546, allocations: 120.8 kB / 0.5721 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/0.4546, allocations: 176.3 kB / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-05/0.4547, allocations: 179.9 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-05/0.4548, allocations: 192.2 kB / 0.5726 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.455, allocations: 417.2 kB / 0.573 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.015e-05/0.4551, allocations: 116.8 kB / 0.5732 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.4551, allocations: 104.9 kB / 0.5733 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.4552, allocations: 182.1 kB / 0.5734 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.4553, allocations: 188.2 kB / 0.5736 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-05/0.4553, allocations: 180.3 kB / 0.5738 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/0.4554, allocations: 180.2 kB / 0.574 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.4556, allocations: 315.7 kB / 0.5743 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.4556, allocations: 189.9 kB / 0.5744 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.4557, allocations: 188.2 kB / 0.5746 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.4558, allocations: 104.9 kB / 0.5747 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4559, allocations: 180.3 kB / 0.5749 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.456, allocations: 104.9 kB / 0.575 GB, free: 4.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.345e-05/0.4561, allocations: 128.8 kB / 0.5751 GB, free: 4.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4561, allocations: 4 kB / 0.5751 GB, free: 4.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000299/0.4564, allocations: 20 kB / 0.5751 GB, free: 4.137 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.000488/0.4569, allocations: 277 kB / 0.5754 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.457, allocations: 72.91 kB / 0.5755 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.457, allocations: 4.125 kB / 0.5755 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.457, allocations: 352 / 0.5755 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4575, allocations: 0.5263 MB / 0.576 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.4579, allocations: 310.9 kB / 0.5763 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4582, allocations: 0.7009 MB / 0.577 GB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.4582, allocations: 23.36 kB / 0.577 GB, free: 2.234 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4582, allocations: 0 / 0.577 GB, free: 2.234 MB / 394.7 MB Notification: Performance of Templates: time 0.002592/0.4608, allocations: 1.301 MB / 0.5783 GB, free: 0.9414 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches