Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007982/0.0007984, allocations: 89.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3861/0.3861, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4852, allocations: 87.17 MB / 0.5651 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4855, allocations: 71.97 kB / 0.5651 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.5034, allocations: 7.887 MB / 0.5728 GB, free: 6.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5034, allocations: 4 kB / 0.5728 GB, free: 6.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.529e-05/0.5035, allocations: 4.547 kB / 0.5729 GB, free: 6.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008279/0.5043, allocations: 0.6225 MB / 0.5735 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5044, allocations: 12.03 kB / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.5045, allocations: 40.38 kB / 0.5735 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.505, allocations: 348.2 kB / 0.5738 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.505, allocations: 384 / 0.5738 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.505, allocations: 12.36 kB / 0.5739 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.5052, allocations: 50.25 kB / 0.5739 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5052, allocations: 192 / 0.5739 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5052, allocations: 3.938 kB / 0.5739 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5052, allocations: 0 / 0.5739 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.5053, allocations: 31.92 kB / 0.5739 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.506, allocations: 436.8 kB / 0.5744 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.5061, allocations: 34.56 kB / 0.5744 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.5062, allocations: 20.91 kB / 0.5744 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.5062, allocations: 4 kB / 0.5744 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.5062, allocations: 38.53 kB / 0.5744 GB, free: 5.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.5062, allocations: 0 / 0.5744 GB, free: 5.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000307/0.5066, allocations: 105.1 kB / 0.5745 GB, free: 5.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5066, allocations: 51.41 kB / 0.5746 GB, free: 4.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5078, allocations: 0.8573 MB / 0.5754 GB, free: 4.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.5079, allocations: 29.64 kB / 0.5755 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.508, allocations: 224.2 kB / 0.5757 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.5081, allocations: 3.906 kB / 0.5757 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5081, allocations: 0 / 0.5757 GB, free: 3.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5082, allocations: 366.8 kB / 0.576 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.5083, allocations: 8 kB / 0.576 GB, free: 3.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.5083, allocations: 19.92 kB / 0.5761 GB, free: 3.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.5084, allocations: 36.84 kB / 0.5761 GB, free: 3.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5084, allocations: 0 / 0.5761 GB, free: 3.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.5086, allocations: 93.2 kB / 0.5762 GB, free: 3.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5086, allocations: 8 kB / 0.5762 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5087, allocations: 4.688 kB / 0.5762 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5087, allocations: 0 / 0.5762 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.5088, allocations: 8.031 kB / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.5088, allocations: 0 / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.5088, allocations: 7.906 kB / 0.5762 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5089, allocations: 0 / 0.5762 GB, free: 3.254 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001901/0.5091, allocations: 221.6 kB / 0.5764 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.5091, allocations: 39.53 kB / 0.5765 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.5094, allocations: 121.8 kB / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5094, allocations: 0 / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5094, allocations: 0 / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5094, allocations: 0 / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.5097, allocations: 329.4 kB / 0.5769 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5097, allocations: 0 / 0.5769 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.5098, allocations: 4 kB / 0.5769 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5098, allocations: 4 kB / 0.5769 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.5098, allocations: 0 / 0.5769 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5098, allocations: 0.9062 kB / 0.5769 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5098, allocations: 4 kB / 0.5769 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.5101, allocations: 202.8 kB / 0.5771 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.5102, allocations: 160.5 kB / 0.5772 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.5103, allocations: 0 / 0.5772 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.5104, allocations: 8.031 kB / 0.5773 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.5104, allocations: 3.984 kB / 0.5773 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5104, allocations: 4 kB / 0.5773 GB, free: 2.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007024/0.5111, allocations: 0.6432 MB / 0.5779 GB, free: 1.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5111, allocations: 0 / 0.5779 GB, free: 1.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.5114, allocations: 55.94 kB / 0.5779 GB, free: 1.379 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007817/0.5122, allocations: 347.3 kB / 0.5783 GB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.5124, allocations: 31.92 kB / 0.5783 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5124, allocations: 0 / 0.5783 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.5124, allocations: 16.05 kB / 0.5783 GB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.5128, allocations: 34.17 kB / 0.5783 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5141, allocations: 0.8842 MB / 0.5792 GB, free: 140 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.5146, allocations: 0.8223 MB / 0.58 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.5147, allocations: 44.22 kB / 0.5801 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.5147, allocations: 23.38 kB / 0.5801 GB, free: 15.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5147, allocations: 4 kB / 0.5801 GB, free: 15.22 MB / 410.7 MB Notification: Performance of Templates: time 0.006129/0.5209, allocations: 2.256 MB / 0.5823 GB, free: 12.96 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches