Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 169.9 kB / 8.74 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.5 MB / 230.7 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 93.42 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1864/0.1864, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.157e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.5251, allocations: 87.61 MB / 0.5802 GB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5254, allocations: 71.97 kB / 0.5803 GB, free: 8.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.5362, allocations: 4.163 MB / 0.5844 GB, free: 4.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5363, allocations: 0 / 0.5844 GB, free: 4.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5363, allocations: 4 kB / 0.5844 GB, free: 4.672 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003845/0.5367, allocations: 361.4 kB / 0.5847 GB, free: 4.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5367, allocations: 11.98 kB / 0.5847 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.5368, allocations: 11.91 kB / 0.5847 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.537, allocations: 186.9 kB / 0.5849 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.537, allocations: 0 / 0.5849 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.537, allocations: 4 kB / 0.5849 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.152e-05/0.5371, allocations: 15.95 kB / 0.5849 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.5372, allocations: 51.41 kB / 0.585 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5372, allocations: 0 / 0.585 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5372, allocations: 3.984 kB / 0.585 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.5372, allocations: 0 / 0.585 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.5376, allocations: 269.5 kB / 0.5852 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.5378, allocations: 50.39 kB / 0.5853 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.5378, allocations: 12.86 kB / 0.5853 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.5379, allocations: 0 / 0.5853 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5379, allocations: 38.64 kB / 0.5853 GB, free: 3.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5379, allocations: 0 / 0.5853 GB, free: 3.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004115/0.5383, allocations: 101.3 kB / 0.5854 GB, free: 3.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5384, allocations: 81.11 kB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.5385, allocations: 118.9 kB / 0.5856 GB, free: 3.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5386, allocations: 25.7 kB / 0.5856 GB, free: 3.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.5386, allocations: 92.12 kB / 0.5857 GB, free: 3.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.5386, allocations: 23.75 kB / 0.5858 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.5387, allocations: 0 / 0.5858 GB, free: 3.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5388, allocations: 318.8 kB / 0.5861 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.5388, allocations: 12 kB / 0.5861 GB, free: 2.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.5389, allocations: 21.72 kB / 0.5861 GB, free: 2.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.5389, allocations: 15.98 kB / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5389, allocations: 0 / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.79e-05/0.539, allocations: 69.48 kB / 0.5862 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.539, allocations: 9.125 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.539, allocations: 0 / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5391, allocations: 4 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.5391, allocations: 11.98 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5392, allocations: 4 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.5392, allocations: 4 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.5392, allocations: 3.938 kB / 0.5862 GB, free: 2.566 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 (5): * Single equations (assignments): 5 * 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 7.741e-05/0.5393, allocations: 109 kB / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5393, allocations: 11.84 kB / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.5395, allocations: 78.03 kB / 0.5864 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5395, allocations: 3.984 kB / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5395, allocations: 0 / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5395, allocations: 0 / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.5398, allocations: 307.1 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5398, allocations: 384 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.5399, allocations: 19.98 kB / 0.5867 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5399, allocations: 0 / 0.5867 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5399, allocations: 7.938 kB / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5399, allocations: 0 / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5399, allocations: 0 / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.5401, allocations: 163.4 kB / 0.5869 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.5402, allocations: 92.95 kB / 0.587 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.5402, allocations: 0 / 0.587 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.5403, allocations: 8 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.5403, allocations: 7.984 kB / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.5403, allocations: 0 / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.5404, allocations: 107.3 kB / 0.5871 GB, free: 1.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5404, allocations: 0 / 0.5871 GB, free: 1.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.5407, allocations: 24 kB / 0.5871 GB, free: 1.551 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 (5): * Single equations (assignments): 5 * 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.0008537/0.5415, allocations: 384.7 kB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.5417, allocations: 31.98 kB / 0.5875 GB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5417, allocations: 4 kB / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.5417, allocations: 20 kB / 0.5875 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.5419, allocations: 11.98 kB / 0.5875 GB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.5422, allocations: 99.98 kB / 0.5876 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.5425, allocations: 0.6885 MB / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.5425, allocations: 16.17 kB / 0.5883 GB, free: 328 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.5426, allocations: 23.36 kB / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5426, allocations: 0 / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of Templates: time 0.003403/0.546, allocations: 1.256 MB / 0.5896 GB, free: 15.05 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches