Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.307/1.307, allocations: 221.3 MB / 236 MB, free: 2.953 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.0007601/0.0007602, allocations: 80.12 kB / 287 MB, free: 236 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.1788/0.1788, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.612e-05, allocations: 4 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4779, allocations: 88.22 MB / 0.5878 GB, free: 1.082 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4781, allocations: 71.95 kB / 0.5879 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.4954, allocations: 7.978 MB / 0.5957 GB, free: 9.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4955, allocations: 0 / 0.5957 GB, free: 9.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.4955, allocations: 8 kB / 0.5957 GB, free: 9.023 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.0007661/0.4963, allocations: 0.5443 MB / 0.5962 GB, free: 8.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4964, allocations: 8.031 kB / 0.5963 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4965, allocations: 43.44 kB / 0.5963 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.4971, allocations: 323.3 kB / 0.5966 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4971, allocations: 0 / 0.5966 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4972, allocations: 4 kB / 0.5966 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4973, allocations: 49.62 kB / 0.5967 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4973, allocations: 0 / 0.5967 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4973, allocations: 0 / 0.5967 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4973, allocations: 11.92 kB / 0.5967 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.4974, allocations: 12 kB / 0.5967 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.498, allocations: 428.7 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.025e-05/0.4981, allocations: 30.52 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.4981, allocations: 16.94 kB / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.4982, allocations: 0 / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4982, allocations: 39.84 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4982, allocations: 3.938 kB / 0.5972 GB, free: 7.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002087/0.4984, allocations: 77.23 kB / 0.5972 GB, free: 7.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4984, allocations: 51.41 kB / 0.5973 GB, free: 7.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.4997, allocations: 0.7811 MB / 0.5981 GB, free: 6.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4997, allocations: 25.7 kB / 0.5981 GB, free: 6.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4999, allocations: 212 kB / 0.5983 GB, free: 6.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.4999, allocations: 15.84 kB / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.4999, allocations: 0 / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5001, allocations: 366.7 kB / 0.5987 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.5001, allocations: 8 kB / 0.5987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.5001, allocations: 4 kB / 0.5987 GB, free: 5.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.5002, allocations: 8 kB / 0.5987 GB, free: 5.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5002, allocations: 0 / 0.5987 GB, free: 5.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.5003, allocations: 89.12 kB / 0.5988 GB, free: 5.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.5003, allocations: 4 kB / 0.5988 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5004, allocations: 0 / 0.5988 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5004, allocations: 4 kB / 0.5988 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5005, allocations: 11.98 kB / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5005, allocations: 4 kB / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.5006, allocations: 8 kB / 0.5988 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5006, allocations: 0 / 0.5988 GB, free: 5.66 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 (3): * Single equations (assignments): 3 * 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.5e-05/0.5007, allocations: 112.9 kB / 0.5989 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.5007, allocations: 39.53 kB / 0.5989 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.5009, allocations: 105 kB / 0.599 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5009, allocations: 0 / 0.599 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5009, allocations: 0 / 0.599 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5009, allocations: 4 kB / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.5012, allocations: 333.3 kB / 0.5994 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5012, allocations: 0 / 0.5994 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.5013, allocations: 8 kB / 0.5994 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5013, allocations: 4 kB / 0.5994 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.5013, allocations: 0 / 0.5994 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5013, allocations: 4 kB / 0.5994 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5013, allocations: 0 / 0.5994 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.5015, allocations: 191.2 kB / 0.5996 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.5017, allocations: 164.5 kB / 0.5997 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5018, allocations: 3.938 kB / 0.5997 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5019, allocations: 15.98 kB / 0.5997 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.5019, allocations: 0 / 0.5997 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.5019, allocations: 4 kB / 0.5997 GB, free: 4.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006502/0.5026, allocations: 0.6342 MB / 0.6004 GB, free: 3.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5026, allocations: 0 / 0.6004 GB, free: 3.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.5029, allocations: 48 kB / 0.6004 GB, free: 3.902 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 (3): * Single equations (assignments): 3 * 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.0007203/0.5036, allocations: 324.5 kB / 0.6007 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.5037, allocations: 23.94 kB / 0.6007 GB, free: 3.648 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5037, allocations: 0 / 0.6007 GB, free: 3.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.5037, allocations: 4 kB / 0.6007 GB, free: 3.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.504, allocations: 30.03 kB / 0.6008 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.505, allocations: 0.6917 MB / 0.6014 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.5054, allocations: 0.8262 MB / 0.6022 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.5055, allocations: 36.42 kB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.5055, allocations: 19.44 kB / 0.6023 GB, free: 1.988 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5056, allocations: 7.938 kB / 0.6023 GB, free: 1.98 MB / 410.7 MB Notification: Performance of Templates: time 0.005877/0.5114, allocations: 2.299 MB / 0.6046 GB, free: 15.68 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches