Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.454/1.454, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007487/0.0007489, allocations: 91.11 kB / 267.1 MB, free: 9.277 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.3741/0.3741, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.086e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5176, allocations: 87.14 MB / 0.5579 GB, free: 16.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.5179, allocations: 66.92 kB / 0.558 GB, free: 16.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.5335, allocations: 8.153 MB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5336, allocations: 3.984 kB / 0.5659 GB, free: 11.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.5336, allocations: 7.938 kB / 0.5659 GB, free: 11.21 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.0004765/0.5341, allocations: 0.5482 MB / 0.5665 GB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5341, allocations: 8.031 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.5342, allocations: 43.44 kB / 0.5665 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.5346, allocations: 328.5 kB / 0.5668 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5347, allocations: 11.23 kB / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.5347, allocations: 4 kB / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5348, allocations: 53.86 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5349, allocations: 0 / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5349, allocations: 3.5 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5349, allocations: 0 / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.535, allocations: 23.52 kB / 0.5669 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.5356, allocations: 457.9 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.5357, allocations: 38.2 kB / 0.5674 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.5357, allocations: 19.67 kB / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.5357, allocations: 0 / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.5357, allocations: 38.59 kB / 0.5675 GB, free: 9.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.5358, allocations: 4 kB / 0.5675 GB, free: 9.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005081/0.5363, allocations: 244.9 kB / 0.5677 GB, free: 9.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.5363, allocations: 54.78 kB / 0.5678 GB, free: 9.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.5372, allocations: 0.7819 MB / 0.5685 GB, free: 8.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.5373, allocations: 25.7 kB / 0.5685 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.5374, allocations: 210.5 kB / 0.5687 GB, free: 8.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.5374, allocations: 26.77 kB / 0.5688 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5374, allocations: 2.344 kB / 0.5688 GB, free: 8.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.5375, allocations: 361.4 kB / 0.5691 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.5375, allocations: 19.12 kB / 0.5691 GB, free: 8.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.5375, allocations: 23.67 kB / 0.5692 GB, free: 8.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.5376, allocations: 23.48 kB / 0.5692 GB, free: 8.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5376, allocations: 0 / 0.5692 GB, free: 8.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001318/0.5377, allocations: 123.2 kB / 0.5693 GB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5378, allocations: 7.953 kB / 0.5693 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5378, allocations: 4 kB / 0.5693 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5378, allocations: 0 / 0.5693 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5379, allocations: 27.97 kB / 0.5693 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5379, allocations: 0 / 0.5693 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.538, allocations: 15.94 kB / 0.5693 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.538, allocations: 3.984 kB / 0.5694 GB, free: 7.984 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 () * 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 4.161e-05/0.5381, allocations: 113.3 kB / 0.5695 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.5381, allocations: 43.44 kB / 0.5695 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.5383, allocations: 154.6 kB / 0.5696 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5383, allocations: 0 / 0.5696 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5384, allocations: 3.938 kB / 0.5697 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5384, allocations: 0 / 0.5697 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.5389, allocations: 0.5973 MB / 0.5702 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5389, allocations: 7.891 kB / 0.5702 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.539, allocations: 27.98 kB / 0.5703 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.539, allocations: 0 / 0.5703 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.539, allocations: 3.625 kB / 0.5703 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.539, allocations: 5.312 kB / 0.5703 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.539, allocations: 0 / 0.5703 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.5392, allocations: 220.6 kB / 0.5705 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5393, allocations: 170.8 kB / 0.5707 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.5394, allocations: 4 kB / 0.5707 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5395, allocations: 11.98 kB / 0.5707 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5395, allocations: 7.984 kB / 0.5707 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-06/0.5396, allocations: 0 / 0.5707 GB, free: 6.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.5401, allocations: 0.6391 MB / 0.5713 GB, free: 6.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5401, allocations: 0 / 0.5713 GB, free: 6.211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.5403, allocations: 58.88 kB / 0.5714 GB, free: 6.156 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 () * 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.000796/0.5411, allocations: 374.1 kB / 0.5717 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.5413, allocations: 52.92 kB / 0.5718 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5413, allocations: 0 / 0.5718 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.5413, allocations: 38.05 kB / 0.5718 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.5416, allocations: 24.89 kB / 0.5718 GB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.5424, allocations: 0.7306 MB / 0.5725 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.5426, allocations: 0.8498 MB / 0.5734 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.5427, allocations: 49.2 kB / 0.5734 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.5428, allocations: 19.44 kB / 0.5734 GB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5428, allocations: 0 / 0.5734 GB, free: 4.188 MB / 394.7 MB Notification: Performance of Templates: time 0.005382/0.5482, allocations: 2.53 MB / 0.5759 GB, free: 1.66 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches