Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009915/0.000991, allocations: 180.2 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008513/0.0008513, allocations: 90.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.173/0.173, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.06e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4941, allocations: 87.97 MB / 0.5876 GB, free: 1.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4944, allocations: 71.88 kB / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.5049, allocations: 4.484 MB / 0.5921 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5049, allocations: 0 / 0.5921 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5049, allocations: 8 kB / 0.5921 GB, free: 12.81 MB / 410.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.0003078/0.5052, allocations: 402.2 kB / 0.5925 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.5053, allocations: 12.03 kB / 0.5925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.5053, allocations: 15.75 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.5056, allocations: 222.5 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5056, allocations: 11.89 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.5056, allocations: 0 / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.5057, allocations: 53.62 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.5057, allocations: 0 / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.5057, allocations: 0 / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5057, allocations: 7.984 kB / 0.5928 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.5058, allocations: 19.98 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.5062, allocations: 308.7 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.5062, allocations: 46.5 kB / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.5063, allocations: 12.86 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.5063, allocations: 4 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.5063, allocations: 30.56 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5063, allocations: 4 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000435/0.5068, allocations: 153.1 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5068, allocations: 55.41 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.507, allocations: 237.5 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.5071, allocations: 33.7 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.5071, allocations: 112.1 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.5072, allocations: 31.55 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-06/0.5072, allocations: 4 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.5073, allocations: 322.8 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.5073, allocations: 12 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.5073, allocations: 24.06 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.5074, allocations: 20.2 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.5074, allocations: 3.938 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.5075, allocations: 89.52 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5075, allocations: 7.984 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5075, allocations: 0 / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5075, allocations: 0 / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.5076, allocations: 16 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5077, allocations: 3.984 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.5077, allocations: 8 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5077, allocations: 3.953 kB / 0.5943 GB, free: 10.35 MB / 410.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 (8): * Single equations (assignments): 8 * 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 5.724e-05/0.5078, allocations: 116.9 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.5078, allocations: 11.84 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.508, allocations: 107.1 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.508, allocations: 0 / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.508, allocations: 0 / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.508, allocations: 4 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.5084, allocations: 419.3 kB / 0.5949 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5085, allocations: 3.938 kB / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.5085, allocations: 19.98 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5085, allocations: 0 / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5086, allocations: 4 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5086, allocations: 3.938 kB / 0.5949 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5086, allocations: 3.953 kB / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5087, allocations: 210.2 kB / 0.5951 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.5088, allocations: 96.92 kB / 0.5952 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5088, allocations: 0 / 0.5952 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.5089, allocations: 19.94 kB / 0.5952 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.509, allocations: 7.984 kB / 0.5952 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.509, allocations: 0 / 0.5952 GB, free: 9.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.5091, allocations: 200.4 kB / 0.5954 GB, free: 9.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5091, allocations: 0 / 0.5954 GB, free: 9.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000224/0.5094, allocations: 31.94 kB / 0.5955 GB, free: 9.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008358/0.5102, allocations: 419.4 kB / 0.5959 GB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.5104, allocations: 47.98 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5104, allocations: 0 / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.5104, allocations: 31.92 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.5106, allocations: 16.19 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.5111, allocations: 231.6 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.5114, allocations: 0.7238 MB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.5114, allocations: 16.97 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5115, allocations: 23.42 kB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of SimCode: time 2.415e-06/0.5115, allocations: 0 / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of Templates: time 0.003579/0.5151, allocations: 1.462 MB / 0.5983 GB, free: 6.105 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches