Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008581/0.0008582, allocations: 181.4 kB / 17.41 MB, free: 4.402 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.429/1.429, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008303/0.0008303, allocations: 89.98 kB / 271.9 MB, free: 8.25 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.3545/0.3545, allocations: 43.55 MB / 363.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004185, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 58.86 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.379/0.5283, allocations: 87.13 MB / 0.565 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5286, allocations: 71.97 kB / 0.5651 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.5399, allocations: 4.482 MB / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5399, allocations: 0 / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.5399, allocations: 0 / 0.5695 GB, free: 10.61 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.0004474/0.5404, allocations: 413.4 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5404, allocations: 8.031 kB / 0.5699 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.5405, allocations: 8.844 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.5407, allocations: 196.2 kB / 0.5701 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.5407, allocations: 384 / 0.5701 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.5407, allocations: 5.25 kB / 0.5701 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5409, allocations: 79.89 kB / 0.5701 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5409, allocations: 192 / 0.5701 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.541, allocations: 7.938 kB / 0.5701 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.541, allocations: 0 / 0.5701 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5411, allocations: 47.97 kB / 0.5702 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.5415, allocations: 284.8 kB / 0.5705 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.5416, allocations: 46.5 kB / 0.5705 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.5417, allocations: 32.94 kB / 0.5705 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5417, allocations: 0 / 0.5705 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5418, allocations: 34.88 kB / 0.5706 GB, free: 9.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.5418, allocations: 4 kB / 0.5706 GB, free: 9.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008057/0.5426, allocations: 242 kB / 0.5708 GB, free: 9.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5426, allocations: 77.11 kB / 0.5709 GB, free: 8.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.5428, allocations: 142.1 kB / 0.571 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5428, allocations: 25.7 kB / 0.571 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.5429, allocations: 100 kB / 0.5711 GB, free: 8.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.5429, allocations: 16.2 kB / 0.5711 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.5429, allocations: 8 kB / 0.5712 GB, free: 8.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.543, allocations: 326.8 kB / 0.5715 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.5432, allocations: 35.97 kB / 0.5715 GB, free: 8.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5433, allocations: 57.69 kB / 0.5716 GB, free: 8.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.5435, allocations: 97.58 kB / 0.5717 GB, free: 8.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5435, allocations: 0 / 0.5717 GB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003372/0.5439, allocations: 134.3 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5439, allocations: 4 kB / 0.5718 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5439, allocations: 7.984 kB / 0.5718 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5439, allocations: 0 / 0.5718 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5441, allocations: 23.98 kB / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5441, allocations: 0 / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.5442, allocations: 15.98 kB / 0.5718 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5442, allocations: 4 kB / 0.5718 GB, free: 7.941 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 9.686e-05/0.5443, allocations: 121.8 kB / 0.5719 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.5443, allocations: 16.58 kB / 0.572 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.5446, allocations: 142.6 kB / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5446, allocations: 0 / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5447, allocations: 0 / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5447, allocations: 0 / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.5452, allocations: 410.4 kB / 0.5725 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5452, allocations: 0 / 0.5725 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.5453, allocations: 27.98 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5453, allocations: 3.938 kB / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5453, allocations: 7.984 kB / 0.5725 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5453, allocations: 0 / 0.5725 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5453, allocations: 3.938 kB / 0.5725 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.5457, allocations: 223.4 kB / 0.5727 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.5457, allocations: 85 kB / 0.5728 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.5458, allocations: 7.938 kB / 0.5728 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.5459, allocations: 12 kB / 0.5728 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.5459, allocations: 15.92 kB / 0.5729 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.5459, allocations: 0 / 0.5729 GB, free: 6.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.546, allocations: 117.4 kB / 0.573 GB, free: 6.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.546, allocations: 0 / 0.573 GB, free: 6.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.5463, allocations: 35.88 kB / 0.573 GB, free: 6.633 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.0009487/0.5472, allocations: 450.3 kB / 0.5734 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.5475, allocations: 91.94 kB / 0.5735 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5476, allocations: 0 / 0.5735 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5477, allocations: 51.91 kB / 0.5736 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.548, allocations: 19.92 kB / 0.5736 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.5484, allocations: 233.1 kB / 0.5738 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.5487, allocations: 0.6887 MB / 0.5745 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.5488, allocations: 19.42 kB / 0.5745 GB, free: 5.141 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5488, allocations: 0 / 0.5745 GB, free: 5.141 MB / 394.7 MB Notification: Performance of Templates: time 0.00359/0.5524, allocations: 1.755 MB / 0.5762 GB, free: 3.391 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches