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.0009019/0.0009019, allocations: 179.2 kB / 18.09 MB, free: 3.621 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.233/1.233, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000723/0.0007231, allocations: 108.3 kB / 293.3 MB, free: 10.77 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.3015/0.3015, allocations: 44.15 MB / 388.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 8 kB / 461.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2913, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3978, allocations: 89.21 MB / 0.5978 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.398, allocations: 83.94 kB / 0.5979 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.4096, allocations: 4.722 MB / 0.6025 GB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4096, allocations: 0 / 0.6025 GB, free: 1.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4097, allocations: 4 kB / 0.6025 GB, free: 1.086 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.000383/0.4101, allocations: 395.2 kB / 0.6029 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4101, allocations: 12.03 kB / 0.6029 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4101, allocations: 12.78 kB / 0.6029 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4103, allocations: 196.1 kB / 0.6031 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4104, allocations: 12.38 kB / 0.6031 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4104, allocations: 384 / 0.6031 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.4106, allocations: 79.94 kB / 0.6032 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4106, allocations: 192 / 0.6032 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4106, allocations: 3.938 kB / 0.6032 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4107, allocations: 3.984 kB / 0.6032 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.4108, allocations: 63.88 kB / 0.6033 GB, free: 228 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.4112, allocations: 308.7 kB / 0.6036 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4114, allocations: 50.56 kB / 0.6036 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.4115, allocations: 24.94 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.4115, allocations: 7.984 kB / 0.6037 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4115, allocations: 38.5 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4115, allocations: 4 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007597/0.4123, allocations: 253.1 kB / 0.6039 GB, free: 15.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4124, allocations: 81.05 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4125, allocations: 147.4 kB / 0.6042 GB, free: 15.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4125, allocations: 25.7 kB / 0.6042 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4126, allocations: 96.12 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4126, allocations: 27.72 kB / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4126, allocations: 0 / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.4127, allocations: 322.8 kB / 0.6046 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4128, allocations: 51.97 kB / 0.6047 GB, free: 14.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.413, allocations: 53.69 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4132, allocations: 108.8 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4132, allocations: 0 / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002928/0.4135, allocations: 141.5 kB / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4135, allocations: 4 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4135, allocations: 0 / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4136, allocations: 0 / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4137, allocations: 27.98 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4137, allocations: 3.984 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.4138, allocations: 16 kB / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4138, allocations: 0 / 0.605 GB, free: 14.33 MB / 426.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 (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 9.85e-05/0.4139, allocations: 130.3 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.4139, allocations: 7.906 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.4143, allocations: 162.5 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4143, allocations: 0 / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4143, allocations: 4 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.4143, allocations: 0 / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.4149, allocations: 434.4 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4149, allocations: 0 / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.415, allocations: 27.92 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.415, allocations: 0 / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.415, allocations: 0 / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.415, allocations: 3.938 kB / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.415, allocations: 0 / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.4153, allocations: 239.4 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.4154, allocations: 93 kB / 0.606 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.4154, allocations: 4 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.4155, allocations: 15.92 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.4155, allocations: 4 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4156, allocations: 8 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.4156, allocations: 109.9 kB / 0.6062 GB, free: 13.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4157, allocations: 0 / 0.6062 GB, free: 13.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.4159, allocations: 35.94 kB / 0.6062 GB, free: 12.97 MB / 426.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 (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.0008969/0.4168, allocations: 456 kB / 0.6067 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.4171, allocations: 103.9 kB / 0.6068 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4171, allocations: 0 / 0.6068 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4173, allocations: 59.91 kB / 0.6068 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.4175, allocations: 20.59 kB / 0.6068 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.4179, allocations: 209.3 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4182, allocations: 0.7083 MB / 0.6077 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.4183, allocations: 24.94 kB / 0.6077 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.4184, allocations: 11.44 kB / 0.6078 GB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4184, allocations: 0 / 0.6078 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.003674/0.422, allocations: 1.482 MB / 0.6092 GB, free: 10.04 MB / 426.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/jenkins1/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