Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 170.4 kB / 8.74 MB, free: 348 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.393/1.393, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0008187/0.0008187, allocations: 94.03 kB / 281.6 MB, free: 5.316 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.2087/0.2087, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.41e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4942, allocations: 87.61 MB / 0.5802 GB, free: 8.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4944, allocations: 71.97 kB / 0.5803 GB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.5052, allocations: 4.164 MB / 0.5844 GB, free: 4.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5053, allocations: 4 kB / 0.5844 GB, free: 4.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.5053, allocations: 4 kB / 0.5844 GB, free: 4.688 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.0003993/0.5057, allocations: 354.5 kB / 0.5847 GB, free: 4.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5058, allocations: 11.98 kB / 0.5847 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.5058, allocations: 7.906 kB / 0.5847 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.5061, allocations: 190.9 kB / 0.5849 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5061, allocations: 0 / 0.5849 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5061, allocations: 4 kB / 0.5849 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.172e-05/0.5062, allocations: 15.95 kB / 0.5849 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.5063, allocations: 55.41 kB / 0.585 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5063, allocations: 0 / 0.585 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5063, allocations: 3.984 kB / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5064, allocations: 7.938 kB / 0.585 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.5067, allocations: 261.4 kB / 0.5852 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.5069, allocations: 42.53 kB / 0.5853 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.5069, allocations: 12.86 kB / 0.5853 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.507, allocations: 4.078 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.507, allocations: 30.56 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.507, allocations: 4 kB / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003704/0.5074, allocations: 105.3 kB / 0.5854 GB, free: 3.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.5074, allocations: 81.11 kB / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.5075, allocations: 117 kB / 0.5856 GB, free: 3.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.5076, allocations: 29.7 kB / 0.5857 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.5076, allocations: 88.14 kB / 0.5857 GB, free: 3.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.5076, allocations: 15.75 kB / 0.5857 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5077, allocations: 0.75 kB / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5078, allocations: 318.8 kB / 0.5861 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.5078, allocations: 12 kB / 0.5861 GB, free: 2.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.5078, allocations: 33.77 kB / 0.5861 GB, free: 2.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.5079, allocations: 12 kB / 0.5861 GB, free: 2.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5079, allocations: 0 / 0.5861 GB, free: 2.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.347e-05/0.508, allocations: 69.48 kB / 0.5862 GB, free: 2.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.508, allocations: 8 kB / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.508, allocations: 3.938 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.508, allocations: 0 / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.5081, allocations: 15.98 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5081, allocations: 4.031 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.5082, allocations: 8 kB / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5082, allocations: 3.984 kB / 0.5862 GB, free: 2.578 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.266e-05/0.5083, allocations: 105 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.5083, allocations: 11.86 kB / 0.5863 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.5085, allocations: 74.02 kB / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5085, allocations: 0 / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5085, allocations: 0 / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5085, allocations: 8 kB / 0.5864 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.5088, allocations: 303.1 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5088, allocations: 0 / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.5089, allocations: 19.92 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5089, allocations: 0 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.5089, allocations: 0 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5089, allocations: 7.938 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5089, allocations: 320 / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.5091, allocations: 163.5 kB / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5092, allocations: 92.95 kB / 0.587 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.5092, allocations: 0 / 0.587 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.5093, allocations: 4 kB / 0.587 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5093, allocations: 7.984 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.5093, allocations: 4 kB / 0.587 GB, free: 1.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.118e-05/0.5094, allocations: 105 kB / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5094, allocations: 4 kB / 0.5871 GB, free: 1.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.5097, allocations: 24 kB / 0.5871 GB, free: 1.57 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.0008124/0.5105, allocations: 391.6 kB / 0.5875 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.65e-05/0.5106, allocations: 31.98 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5106, allocations: 4 kB / 0.5875 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.5107, allocations: 12 kB / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5109, allocations: 11.98 kB / 0.5875 GB, free: 1.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.5111, allocations: 103.9 kB / 0.5876 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5114, allocations: 0.7002 MB / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.5114, allocations: 12.17 kB / 0.5883 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.5115, allocations: 15.42 kB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5115, allocations: 0 / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of Templates: time 0.003361/0.5149, allocations: 1.245 MB / 0.5896 GB, free: 15.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches