Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001014, 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.373/1.373, 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.0008272/0.000827, allocations: 89.03 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.3672/0.3672, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.051e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.52, allocations: 88.88 MB / 0.5596 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5203, allocations: 72.22 kB / 0.5597 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5395, allocations: 8.595 MB / 0.5681 GB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.5395, allocations: 4 kB / 0.5681 GB, free: 9.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.5396, allocations: 8 kB / 0.5681 GB, free: 9.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006062/0.5402, allocations: 0.5537 MB / 0.5686 GB, free: 8.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.5403, allocations: 8.031 kB / 0.5686 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.5404, allocations: 45.78 kB / 0.5687 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.5409, allocations: 353 kB / 0.569 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5409, allocations: 11.5 kB / 0.569 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.5409, allocations: 11.06 kB / 0.569 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.5411, allocations: 112.8 kB / 0.5691 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5412, allocations: 4 kB / 0.5691 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5412, allocations: 7.875 kB / 0.5692 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5412, allocations: 0 / 0.5692 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.5413, allocations: 80.25 kB / 0.5692 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.5419, allocations: 0.5305 MB / 0.5697 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.542, allocations: 111.3 kB / 0.5699 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.5421, allocations: 35.55 kB / 0.5699 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.5421, allocations: 3.938 kB / 0.5699 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.5421, allocations: 34.56 kB / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.5422, allocations: 0 / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006537/0.5428, allocations: 377.6 kB / 0.5703 GB, free: 7.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.5428, allocations: 55.62 kB / 0.5703 GB, free: 7.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.5433, allocations: 497.8 kB / 0.5708 GB, free: 6.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5433, allocations: 32.7 kB / 0.5708 GB, free: 6.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.5434, allocations: 207 kB / 0.571 GB, free: 6.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.5434, allocations: 58.19 kB / 0.5711 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.5435, allocations: 4.938 kB / 0.5711 GB, free: 6.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.5435, allocations: 354.8 kB / 0.5714 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.5436, allocations: 54.48 kB / 0.5715 GB, free: 6.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.5437, allocations: 59.8 kB / 0.5715 GB, free: 6.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.5438, allocations: 65.97 kB / 0.5716 GB, free: 6.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5438, allocations: 0 / 0.5716 GB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002252/0.544, allocations: 213.5 kB / 0.5718 GB, free: 5.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.544, allocations: 4 kB / 0.5718 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.544, allocations: 0 / 0.5718 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.544, allocations: 0 / 0.5718 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.5442, allocations: 35.97 kB / 0.5719 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5442, allocations: 4 kB / 0.5719 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.5443, allocations: 15.5 kB / 0.5719 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.5443, allocations: 7.953 kB / 0.5719 GB, free: 5.934 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 (17): * Single equations (assignments): 17 * 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.928e-05/0.5444, allocations: 113.7 kB / 0.572 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.5444, allocations: 43.09 kB / 0.572 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.5448, allocations: 259.2 kB / 0.5723 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5448, allocations: 0 / 0.5723 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5448, allocations: 4 kB / 0.5723 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5448, allocations: 4 kB / 0.5723 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.5454, allocations: 0.7037 MB / 0.573 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5455, allocations: 0 / 0.573 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.5456, allocations: 35.92 kB / 0.573 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5456, allocations: 4 kB / 0.573 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5456, allocations: 7.625 kB / 0.573 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5456, allocations: 3.953 kB / 0.573 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5456, allocations: 3.984 kB / 0.573 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.5459, allocations: 308.4 kB / 0.5733 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.546, allocations: 154.9 kB / 0.5735 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.546, allocations: 4 kB / 0.5735 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5461, allocations: 11.5 kB / 0.5735 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.5462, allocations: 23.86 kB / 0.5735 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5462, allocations: 8 kB / 0.5735 GB, free: 4.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003239/0.5465, allocations: 396.5 kB / 0.5739 GB, free: 4.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 0 / 0.5739 GB, free: 4.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.5468, allocations: 73.23 kB / 0.574 GB, free: 4.055 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 (17): * Single equations (assignments): 17 * 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.001542/0.5484, allocations: 0.6205 MB / 0.5746 GB, free: 3.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.5487, allocations: 148.6 kB / 0.5747 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5487, allocations: 0 / 0.5747 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5488, allocations: 83.08 kB / 0.5748 GB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.5494, allocations: 67.81 kB / 0.5748 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.5501, allocations: 0.5473 MB / 0.5754 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.5503, allocations: 0.8286 MB / 0.5762 GB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.5505, allocations: 62.03 kB / 0.5763 GB, free: 1.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.5506, allocations: 35.41 kB / 0.5763 GB, free: 1.867 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5506, allocations: 0 / 0.5763 GB, free: 1.867 MB / 394.7 MB Notification: Performance of Templates: time 0.006434/0.557, allocations: 3.652 MB / 0.5799 GB, free: 14.23 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches