Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008733/0.0008735, allocations: 181.6 kB / 17.41 MB, free: 4.285 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.324/1.324, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007738/0.0007736, allocations: 90.34 kB / 271.9 MB, free: 8.238 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.3516/0.3516, allocations: 43.56 MB / 363.8 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.521, allocations: 87.13 MB / 0.565 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5213, allocations: 77.88 kB / 0.5651 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.5321, allocations: 4.489 MB / 0.5695 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5322, allocations: 0 / 0.5695 GB, free: 10.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.5322, allocations: 0 / 0.5695 GB, free: 10.73 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.0005165/0.5327, allocations: 399 kB / 0.5699 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5328, allocations: 12.03 kB / 0.5699 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.5328, allocations: 8.844 kB / 0.5699 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.5331, allocations: 195.9 kB / 0.5701 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.5331, allocations: 4.375 kB / 0.5701 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5331, allocations: 4.938 kB / 0.5701 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.5333, allocations: 71.95 kB / 0.5701 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5333, allocations: 8.109 kB / 0.5701 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5333, allocations: 7.938 kB / 0.5702 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5334, allocations: 0 / 0.5702 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.5335, allocations: 43.97 kB / 0.5702 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.5339, allocations: 293.9 kB / 0.5705 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.534, allocations: 50.56 kB / 0.5705 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.5341, allocations: 32.88 kB / 0.5706 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.5341, allocations: 0 / 0.5706 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5342, allocations: 30.88 kB / 0.5706 GB, free: 9.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.5342, allocations: 0 / 0.5706 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007351/0.5349, allocations: 241.2 kB / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.535, allocations: 81.11 kB / 0.5709 GB, free: 9.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5351, allocations: 134.1 kB / 0.571 GB, free: 8.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.5351, allocations: 29.7 kB / 0.571 GB, free: 8.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.5352, allocations: 100 kB / 0.5711 GB, free: 8.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.5352, allocations: 23.66 kB / 0.5712 GB, free: 8.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5352, allocations: 0 / 0.5712 GB, free: 8.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5353, allocations: 326.8 kB / 0.5715 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5354, allocations: 35.97 kB / 0.5715 GB, free: 8.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5356, allocations: 57.69 kB / 0.5716 GB, free: 8.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5358, allocations: 93.62 kB / 0.5717 GB, free: 8.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5358, allocations: 4 kB / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/0.5361, allocations: 133.7 kB / 0.5718 GB, free: 8.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5361, allocations: 8 kB / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5361, allocations: 0 / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5361, allocations: 0 / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5362, allocations: 19.98 kB / 0.5718 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5362, allocations: 8 kB / 0.5718 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.5363, allocations: 11.98 kB / 0.5718 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5363, allocations: 4 kB / 0.5718 GB, free: 8.082 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 8.441e-05/0.5364, allocations: 125.8 kB / 0.572 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.5365, allocations: 11.91 kB / 0.572 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.5368, allocations: 134.3 kB / 0.5721 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5368, allocations: 4.281 kB / 0.5721 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5368, allocations: 0 / 0.5721 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5368, allocations: 3.984 kB / 0.5721 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.5373, allocations: 414.4 kB / 0.5725 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5373, allocations: 4.875 kB / 0.5725 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.5374, allocations: 23.97 kB / 0.5725 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5374, allocations: 4 kB / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5375, allocations: 0.75 kB / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5375, allocations: 0 / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5375, allocations: 7.938 kB / 0.5725 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.5378, allocations: 219.4 kB / 0.5727 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.5378, allocations: 93 kB / 0.5728 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5379, allocations: 0 / 0.5728 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.538, allocations: 19.98 kB / 0.5729 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.538, allocations: 7.875 kB / 0.5729 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.538, allocations: 7.938 kB / 0.5729 GB, free: 6.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.5381, allocations: 115.2 kB / 0.573 GB, free: 6.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5381, allocations: 0 / 0.573 GB, free: 6.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.5384, allocations: 43.86 kB / 0.573 GB, free: 6.762 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.0009612/0.5393, allocations: 435.9 kB / 0.5734 GB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.5396, allocations: 103.9 kB / 0.5735 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5397, allocations: 0 / 0.5735 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5398, allocations: 51.91 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.5401, allocations: 15.98 kB / 0.5736 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.5405, allocations: 225.2 kB / 0.5738 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.5408, allocations: 0.6965 MB / 0.5745 GB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.5409, allocations: 19.44 kB / 0.5745 GB, free: 5.273 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5409, allocations: 0 / 0.5745 GB, free: 5.273 MB / 394.7 MB Notification: Performance of Templates: time 0.003475/0.5444, allocations: 1.75 MB / 0.5762 GB, free: 3.527 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches