Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.5 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.277/1.277, allocations: 221.3 MB / 236 MB, free: 2.91 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.0008469/0.000847, allocations: 98.47 kB / 287 MB, free: 184 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.1778/0.1778, allocations: 44.15 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.359e-05, allocations: 4 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.4933, allocations: 88.16 MB / 0.5878 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.4935, allocations: 71.97 kB / 0.5879 GB, free: 1.094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.5041, allocations: 4.28 MB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5041, allocations: 4 kB / 0.5921 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.5041, allocations: 0 / 0.5921 GB, free: 12.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000353/0.5045, allocations: 362.4 kB / 0.5924 GB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5045, allocations: 12.03 kB / 0.5924 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.5046, allocations: 3.906 kB / 0.5924 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.5048, allocations: 187 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.5048, allocations: 0 / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.5048, allocations: 0 / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.5049, allocations: 67.36 kB / 0.5927 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5049, allocations: 0 / 0.5927 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.505, allocations: 0 / 0.5927 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-06/0.505, allocations: 0 / 0.5927 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.505, allocations: 19.92 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.5053, allocations: 280.8 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.5055, allocations: 38.56 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.5055, allocations: 16.86 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.5056, allocations: 0 / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5056, allocations: 34.5 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.5056, allocations: 3.984 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003273/0.5059, allocations: 101.5 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.506, allocations: 85.05 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.5061, allocations: 122.4 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.5061, allocations: 29.7 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.5062, allocations: 84.14 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.5062, allocations: 19.75 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.5062, allocations: 0 / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.5063, allocations: 318.8 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.5063, allocations: 12 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.5064, allocations: 25.72 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.5064, allocations: 15.94 kB / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5064, allocations: 0 / 0.5938 GB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.759e-05/0.5065, allocations: 57.61 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5065, allocations: 8 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.5065, allocations: 0 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.5065, allocations: 256 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.5066, allocations: 19.92 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5066, allocations: 4 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.5067, allocations: 12.02 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5067, allocations: 7.984 kB / 0.5939 GB, free: 10.68 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 (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 6.269e-05/0.5068, allocations: 112.9 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.5068, allocations: 7.906 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.5069, allocations: 65.78 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5069, allocations: 0 / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5069, allocations: 0 / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5069, allocations: 7.984 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.5073, allocations: 330.5 kB / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5073, allocations: 0 / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.5074, allocations: 12 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5074, allocations: 3.938 kB / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.5074, allocations: 0 / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5074, allocations: 3.984 kB / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5074, allocations: 0 / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.5075, allocations: 171.3 kB / 0.5946 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.5076, allocations: 85.02 kB / 0.5947 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5076, allocations: 0 / 0.5947 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.5077, allocations: 11.98 kB / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.5077, allocations: 0 / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5077, allocations: 4 kB / 0.5947 GB, free: 9.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.5078, allocations: 111 kB / 0.5948 GB, free: 9.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5078, allocations: 4 kB / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000221/0.508, allocations: 24 kB / 0.5948 GB, free: 9.645 MB / 410.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.0008238/0.5089, allocations: 412.3 kB / 0.5952 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.509, allocations: 35.94 kB / 0.5953 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.509, allocations: 0 / 0.5953 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.509, allocations: 15.98 kB / 0.5953 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.5092, allocations: 11.95 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.5094, allocations: 97.53 kB / 0.5954 GB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.5097, allocations: 0.6964 MB / 0.5961 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.5097, allocations: 16.16 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.5098, allocations: 19.38 kB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5098, allocations: 0 / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of Templates: time 0.003117/0.5129, allocations: 1.262 MB / 0.5973 GB, free: 7.148 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches