Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 170.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.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.5 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.0008781/0.0008781, allocations: 92.59 kB / 281.6 MB, free: 5.238 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.1921/0.1921, allocations: 44.15 MB / 376.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.283e-05, allocations: 4.219 kB / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/0.502, allocations: 88.44 MB / 0.581 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.5023, allocations: 75.95 kB / 0.5811 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.5137, allocations: 4.413 MB / 0.5854 GB, free: 3.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5138, allocations: 0 / 0.5854 GB, free: 3.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.5138, allocations: 8 kB / 0.5854 GB, free: 3.543 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.0004283/0.5143, allocations: 382.2 kB / 0.5858 GB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5143, allocations: 11.98 kB / 0.5858 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.5144, allocations: 4 kB / 0.5858 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.5146, allocations: 191.5 kB / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5147, allocations: 7.953 kB / 0.586 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5147, allocations: 4 kB / 0.586 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.984e-05/0.5148, allocations: 20 kB / 0.586 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5149, allocations: 67.33 kB / 0.5861 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5149, allocations: 0 / 0.5861 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.515, allocations: 3.938 kB / 0.5861 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.515, allocations: 4 kB / 0.5861 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.5154, allocations: 285.3 kB / 0.5864 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.5155, allocations: 45.47 kB / 0.5864 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.5155, allocations: 16.94 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5155, allocations: 0 / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.5156, allocations: 38.56 kB / 0.5865 GB, free: 2.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5156, allocations: 0 / 0.5865 GB, free: 2.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004627/0.516, allocations: 145.3 kB / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5161, allocations: 77.11 kB / 0.5867 GB, free: 2.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.5162, allocations: 130.3 kB / 0.5868 GB, free: 1.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5162, allocations: 25.7 kB / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.5163, allocations: 104.1 kB / 0.5869 GB, free: 1.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.5163, allocations: 27.61 kB / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5163, allocations: 0 / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5164, allocations: 314.8 kB / 0.5872 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.5165, allocations: 23.98 kB / 0.5873 GB, free: 1.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.5165, allocations: 29.72 kB / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.5166, allocations: 23.98 kB / 0.5873 GB, free: 1.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5166, allocations: 0 / 0.5873 GB, free: 1.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001342/0.5167, allocations: 93.67 kB / 0.5874 GB, free: 1.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5167, allocations: 4 kB / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5168, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5168, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5169, allocations: 27.92 kB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.5169, allocations: 0 / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.517, allocations: 15.98 kB / 0.5875 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.517, allocations: 4.312 kB / 0.5875 GB, free: 1.242 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 8.232e-05/0.5171, allocations: 108.9 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.5171, allocations: 7.906 kB / 0.5876 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.5173, allocations: 106.2 kB / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5173, allocations: 0 / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5173, allocations: 3.938 kB / 0.5877 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5174, allocations: 0 / 0.5877 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.5177, allocations: 351.1 kB / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5177, allocations: 4 kB / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.5178, allocations: 23.97 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5178, allocations: 4 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5178, allocations: 144 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5178, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5179, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.518, allocations: 191.3 kB / 0.5882 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.5181, allocations: 88.95 kB / 0.5883 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5181, allocations: 0 / 0.5883 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.5182, allocations: 15.98 kB / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.5182, allocations: 11.98 kB / 0.5883 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5183, allocations: 0 / 0.5883 GB, free: 256 kB / 394.7 MB Notification: Performance of sorting global known variables: time 6.97e-05/0.5183, allocations: 104.7 kB / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5183, allocations: 4 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.5186, allocations: 31.98 kB / 0.5885 GB, free: 116 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.0008147/0.5194, allocations: 380 kB / 0.5888 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5196, allocations: 47.98 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5196, allocations: 4 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.5196, allocations: 27.98 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5198, allocations: 16.25 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.5201, allocations: 136 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.5204, allocations: 0.7117 MB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.5205, allocations: 16.66 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.5205, allocations: 15.42 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5206, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003663/0.5242, allocations: 1.408 MB / 0.5912 GB, free: 13.39 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches