Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 180.6 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.329/1.329, 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.0008431/0.0008431, allocations: 91.62 kB / 287 MB, free: 260 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.181/0.181, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.625e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5709, allocations: 88.42 MB / 0.588 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.5712, allocations: 75.95 kB / 0.5881 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.587, allocations: 7.844 MB / 0.5958 GB, free: 8.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5871, allocations: 2.953 kB / 0.5958 GB, free: 8.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.5871, allocations: 11.92 kB / 0.5958 GB, free: 8.977 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.0004972/0.5876, allocations: 0.5442 MB / 0.5963 GB, free: 8.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5877, allocations: 12.03 kB / 0.5963 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.5877, allocations: 43.44 kB / 0.5964 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.5882, allocations: 327.3 kB / 0.5967 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5882, allocations: 8 kB / 0.5967 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5882, allocations: 4 kB / 0.5967 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.5883, allocations: 41.69 kB / 0.5967 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5884, allocations: 0 / 0.5967 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5884, allocations: 11.94 kB / 0.5968 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5884, allocations: 0 / 0.5968 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.5884, allocations: 12 kB / 0.5968 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.589, allocations: 436.7 kB / 0.5972 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5892, allocations: 42.5 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.5892, allocations: 12.86 kB / 0.5972 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.5893, allocations: 4 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.5893, allocations: 30.56 kB / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.5893, allocations: 0 / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004073/0.5897, allocations: 188.1 kB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.5897, allocations: 55.36 kB / 0.5975 GB, free: 7.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5908, allocations: 0.7849 MB / 0.5983 GB, free: 6.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5908, allocations: 29.53 kB / 0.5983 GB, free: 6.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.591, allocations: 224.1 kB / 0.5985 GB, free: 6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.591, allocations: 15.73 kB / 0.5985 GB, free: 5.984 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.591, allocations: 0 / 0.5985 GB, free: 5.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5912, allocations: 362.8 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.5912, allocations: 12 kB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.5912, allocations: 12 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.5912, allocations: 4 kB / 0.5989 GB, free: 5.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5913, allocations: 0 / 0.5989 GB, free: 5.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001297/0.5914, allocations: 105.1 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5914, allocations: 9.094 kB / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5914, allocations: 0 / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5914, allocations: 0 / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.5915, allocations: 15.98 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5915, allocations: 4 kB / 0.599 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.5916, allocations: 7.953 kB / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.5916, allocations: 4 kB / 0.599 GB, free: 5.445 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.023e-05/0.5917, allocations: 105 kB / 0.5991 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.5918, allocations: 39.53 kB / 0.5992 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.592, allocations: 128.9 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.592, allocations: 144 / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.592, allocations: 8.25 kB / 0.5993 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.592, allocations: 3.984 kB / 0.5993 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.5927, allocations: 0.5648 MB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5927, allocations: 0 / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.5928, allocations: 15.98 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5928, allocations: 0 / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5928, allocations: 0 / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5928, allocations: 3.938 kB / 0.5999 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5928, allocations: 7.953 kB / 0.5999 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.593, allocations: 191.1 kB / 0.6001 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.5932, allocations: 164.5 kB / 0.6002 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.5933, allocations: 0 / 0.6002 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.5934, allocations: 11.98 kB / 0.6002 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.5934, allocations: 7.891 kB / 0.6002 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5934, allocations: 4 kB / 0.6002 GB, free: 4.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006059/0.594, allocations: 0.6381 MB / 0.6009 GB, free: 3.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.594, allocations: 0 / 0.6009 GB, free: 3.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5943, allocations: 63.92 kB / 0.6009 GB, free: 3.391 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.0007803/0.5951, allocations: 357.2 kB / 0.6013 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.706e-05/0.5952, allocations: 31.98 kB / 0.6013 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5952, allocations: 0 / 0.6013 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.5952, allocations: 12 kB / 0.6013 GB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5955, allocations: 30.03 kB / 0.6013 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.5965, allocations: 0.7072 MB / 0.602 GB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5969, allocations: 0.834 MB / 0.6028 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.597, allocations: 36.03 kB / 0.6029 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.597, allocations: 23.44 kB / 0.6029 GB, free: 1.418 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.597, allocations: 3.938 kB / 0.6029 GB, free: 1.414 MB / 410.7 MB Notification: Performance of Templates: time 0.00553/0.6026, allocations: 2.445 MB / 0.6053 GB, free: 14.96 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches