Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 180.7 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.3/1.3, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008737/0.0008737, allocations: 95.48 kB / 287 MB, free: 248 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.1884/0.1884, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.259e-05, allocations: 4 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4885, allocations: 88.37 MB / 0.588 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.4887, allocations: 72.67 kB / 0.5881 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5047, allocations: 7.899 MB / 0.5958 GB, free: 9.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5048, allocations: 0 / 0.5958 GB, free: 9.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.5048, allocations: 8 kB / 0.5958 GB, free: 9.008 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.0004666/0.5053, allocations: 0.5559 MB / 0.5963 GB, free: 8.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5053, allocations: 11.97 kB / 0.5963 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.5054, allocations: 47.44 kB / 0.5964 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.5058, allocations: 331.2 kB / 0.5967 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5058, allocations: 3.984 kB / 0.5967 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.5058, allocations: 0 / 0.5967 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/0.5059, allocations: 45.7 kB / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.506, allocations: 0 / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.506, allocations: 0 / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.506, allocations: 4 kB / 0.5968 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.506, allocations: 19.92 kB / 0.5968 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.5066, allocations: 436.7 kB / 0.5972 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.5067, allocations: 34.58 kB / 0.5972 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.5067, allocations: 12.86 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.5067, allocations: 3.938 kB / 0.5972 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5068, allocations: 38.56 kB / 0.5973 GB, free: 7.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.5068, allocations: 7.938 kB / 0.5973 GB, free: 7.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004583/0.5072, allocations: 228 kB / 0.5975 GB, free: 7.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.5073, allocations: 55.36 kB / 0.5976 GB, free: 7.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5083, allocations: 0.7733 MB / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5083, allocations: 25.7 kB / 0.5983 GB, free: 6.203 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5085, allocations: 216 kB / 0.5985 GB, free: 5.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.5085, allocations: 23.7 kB / 0.5986 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5085, allocations: 4 kB / 0.5986 GB, free: 5.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5086, allocations: 354.8 kB / 0.5989 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.5087, allocations: 16 kB / 0.5989 GB, free: 5.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.5087, allocations: 24.05 kB / 0.5989 GB, free: 5.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.5087, allocations: 12 kB / 0.599 GB, free: 5.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5088, allocations: 0 / 0.599 GB, free: 5.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/0.5089, allocations: 113.1 kB / 0.5991 GB, free: 5.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5089, allocations: 4 kB / 0.5991 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5089, allocations: 4 kB / 0.5991 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.509, allocations: 0 / 0.5991 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5091, allocations: 27.92 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5091, allocations: 0 / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.5092, allocations: 23.94 kB / 0.5991 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.5092, allocations: 0 / 0.5991 GB, free: 5.379 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 (7): * Single equations (assignments): 7 * 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.543e-05/0.5093, allocations: 105 kB / 0.5992 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.5093, allocations: 43.44 kB / 0.5993 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.5096, allocations: 141.5 kB / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5096, allocations: 0 / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5096, allocations: 0 / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5096, allocations: 0 / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.5103, allocations: 0.5842 MB / 0.6 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5103, allocations: 8 kB / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.5104, allocations: 23.98 kB / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5104, allocations: 0 / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5104, allocations: 4 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5104, allocations: 7.922 kB / 0.6 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5104, allocations: 3.953 kB / 0.6 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.5106, allocations: 203.4 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5108, allocations: 160.5 kB / 0.6004 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.5108, allocations: 12 kB / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5109, allocations: 11.98 kB / 0.6004 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.511, allocations: 7.953 kB / 0.6004 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.511, allocations: 0 / 0.6004 GB, free: 3.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006394/0.5116, allocations: 0.6342 MB / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5117, allocations: 0 / 0.601 GB, free: 3.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.5119, allocations: 63.98 kB / 0.6011 GB, free: 3.273 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 (7): * Single equations (assignments): 7 * 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.000759/0.5127, allocations: 376.5 kB / 0.6014 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.5128, allocations: 43.97 kB / 0.6015 GB, free: 2.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5128, allocations: 0 / 0.6015 GB, free: 2.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.5129, allocations: 27.94 kB / 0.6015 GB, free: 2.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5131, allocations: 22.09 kB / 0.6015 GB, free: 2.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.5141, allocations: 0.7192 MB / 0.6022 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5144, allocations: 0.8379 MB / 0.603 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.807e-05/0.5145, allocations: 36.2 kB / 0.6031 GB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.5146, allocations: 23.42 kB / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5146, allocations: 0 / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of Templates: time 0.005605/0.5202, allocations: 2.507 MB / 0.6055 GB, free: 14.74 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches