Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 174.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.401/1.401, 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.0009374/0.000937, allocations: 94.69 kB / 281.6 MB, free: 5.328 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.2108/0.2108, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.9e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1469, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.5413, allocations: 88.44 MB / 0.581 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5416, allocations: 75.95 kB / 0.5811 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.5535, allocations: 4.403 MB / 0.5854 GB, free: 3.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5535, allocations: 0 / 0.5854 GB, free: 3.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.5535, allocations: 4.75 kB / 0.5854 GB, free: 3.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004229/0.554, allocations: 378.2 kB / 0.5858 GB, free: 3.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.554, allocations: 11.98 kB / 0.5858 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.5541, allocations: 4 kB / 0.5858 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.5543, allocations: 200.8 kB / 0.586 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5543, allocations: 7.953 kB / 0.586 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5544, allocations: 7.828 kB / 0.586 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.876e-05/0.5545, allocations: 16 kB / 0.586 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5546, allocations: 75.25 kB / 0.5861 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5546, allocations: 4 kB / 0.5861 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5546, allocations: 0 / 0.5861 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5546, allocations: 4 kB / 0.5861 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.5551, allocations: 285.3 kB / 0.5864 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.5552, allocations: 42.52 kB / 0.5864 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.5552, allocations: 12.86 kB / 0.5864 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5553, allocations: 4.078 kB / 0.5864 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5553, allocations: 38.56 kB / 0.5865 GB, free: 2.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.5553, allocations: 0 / 0.5865 GB, free: 2.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000484/0.5558, allocations: 141.3 kB / 0.5866 GB, free: 2.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5559, allocations: 77.11 kB / 0.5867 GB, free: 2.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.556, allocations: 130.4 kB / 0.5868 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.556, allocations: 25.7 kB / 0.5868 GB, free: 1.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.5561, allocations: 104.1 kB / 0.5869 GB, free: 1.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.5561, allocations: 23.62 kB / 0.5869 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.5561, allocations: 0 / 0.5869 GB, free: 1.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5563, allocations: 322.8 kB / 0.5873 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.5563, allocations: 23.98 kB / 0.5873 GB, free: 1.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.5564, allocations: 33.78 kB / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.5564, allocations: 28.05 kB / 0.5873 GB, free: 1.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5565, allocations: 0 / 0.5873 GB, free: 1.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.5566, allocations: 85.61 kB / 0.5874 GB, free: 1.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5566, allocations: 4 kB / 0.5874 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5567, allocations: 0 / 0.5874 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5567, allocations: 0 / 0.5874 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5568, allocations: 27.92 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5568, allocations: 0 / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.5569, allocations: 15.98 kB / 0.5875 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.5569, allocations: 4 kB / 0.5875 GB, free: 1.305 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 (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 7.962e-05/0.557, allocations: 108.9 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.5571, allocations: 7.906 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5573, allocations: 98.28 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5573, allocations: 3.938 kB / 0.5877 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5573, allocations: 3.938 kB / 0.5877 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5573, allocations: 0 / 0.5877 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.5577, allocations: 351.1 kB / 0.588 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5577, allocations: 0 / 0.588 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.5578, allocations: 19.98 kB / 0.588 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.5578, allocations: 4 kB / 0.588 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5578, allocations: 3.984 kB / 0.588 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5579, allocations: 0 / 0.588 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5579, allocations: 3.938 kB / 0.588 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.5581, allocations: 183.3 kB / 0.5882 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.5581, allocations: 93 kB / 0.5883 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.5582, allocations: 0 / 0.5883 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.5583, allocations: 15.98 kB / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.5583, allocations: 11.97 kB / 0.5883 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.5584, allocations: 0 / 0.5883 GB, free: 328 kB / 394.7 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.5584, allocations: 108.7 kB / 0.5884 GB, free: 220 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5584, allocations: 4 kB / 0.5884 GB, free: 216 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.5587, allocations: 24 kB / 0.5885 GB, free: 192 kB / 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 (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.000884/0.5596, allocations: 389.4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.5598, allocations: 47.98 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5598, allocations: 4 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.5598, allocations: 27.98 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.56, allocations: 20.83 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.5604, allocations: 132.1 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.5607, allocations: 0.7118 MB / 0.5898 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.638e-05/0.5608, allocations: 16.97 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.5608, allocations: 15.42 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5608, allocations: 4 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.00375/0.5646, allocations: 1.414 MB / 0.5912 GB, free: 13.45 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches