Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 179 kB / 18.09 MB, free: 3.754 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.264/1.264, allocations: 223.3 MB / 242.1 MB, free: 9.98 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.0007742/0.0007742, allocations: 96.09 kB / 293.3 MB, free: 10.58 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.2959/0.2959, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 61.87 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.441, allocations: 89.22 MB / 0.5978 GB, free: 5.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4413, allocations: 79.94 kB / 0.5979 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4525, allocations: 4.734 MB / 0.6025 GB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4526, allocations: 0 / 0.6025 GB, free: 1.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4526, allocations: 4 kB / 0.6025 GB, free: 1.051 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.000424/0.453, allocations: 395.2 kB / 0.6029 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4531, allocations: 8.031 kB / 0.6029 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.4531, allocations: 12.84 kB / 0.6029 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4533, allocations: 204.1 kB / 0.6031 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4534, allocations: 384 / 0.6031 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4534, allocations: 4.375 kB / 0.6031 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4536, allocations: 83.88 kB / 0.6032 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4536, allocations: 192 / 0.6032 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4536, allocations: 7.938 kB / 0.6032 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4536, allocations: 4 kB / 0.6032 GB, free: 252 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4538, allocations: 39.97 kB / 0.6033 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.4542, allocations: 320.7 kB / 0.6036 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.4544, allocations: 50.55 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.4545, allocations: 28.94 kB / 0.6037 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4545, allocations: 0 / 0.6037 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.4545, allocations: 34.56 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.4545, allocations: 7.984 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008008/0.4553, allocations: 261.2 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4554, allocations: 85.05 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4556, allocations: 135.2 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4556, allocations: 37.69 kB / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.4557, allocations: 88.14 kB / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.4557, allocations: 23.64 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4557, allocations: 4 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4558, allocations: 322.7 kB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.456, allocations: 47.97 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4561, allocations: 61.67 kB / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.4563, allocations: 109 kB / 0.6048 GB, free: 14.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4564, allocations: 0 / 0.6048 GB, free: 14.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.4567, allocations: 145.5 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4567, allocations: 8 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4567, allocations: 0 / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4567, allocations: 4 kB / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4568, allocations: 19.98 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4569, allocations: 4 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.4569, allocations: 15.98 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4569, allocations: 4 kB / 0.605 GB, free: 14.29 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 0.0001031/0.4571, allocations: 122.3 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.4571, allocations: 7.906 kB / 0.6051 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4574, allocations: 154.3 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4575, allocations: 4 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4575, allocations: 0 / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4575, allocations: 3.938 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.4581, allocations: 430.3 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4581, allocations: 4 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.4582, allocations: 23.92 kB / 0.6057 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4582, allocations: 0 / 0.6057 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4582, allocations: 4 kB / 0.6057 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4582, allocations: 7.938 kB / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4582, allocations: 8 kB / 0.6057 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.4586, allocations: 231.4 kB / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.4586, allocations: 89 kB / 0.606 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.4587, allocations: 0 / 0.606 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.4588, allocations: 23.92 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.4588, allocations: 7.984 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.4588, allocations: 0 / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.4589, allocations: 110.5 kB / 0.6062 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4589, allocations: 4 kB / 0.6062 GB, free: 12.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.4593, allocations: 35.92 kB / 0.6062 GB, free: 12.94 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.00109/0.4604, allocations: 462.2 kB / 0.6067 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.4607, allocations: 103.9 kB / 0.6068 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4607, allocations: 0 / 0.6068 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.4608, allocations: 63.89 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4612, allocations: 15.98 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.4616, allocations: 221.3 kB / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.462, allocations: 0.6926 MB / 0.6077 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.963e-05/0.4621, allocations: 20.95 kB / 0.6077 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.4621, allocations: 19.42 kB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/0.4621, allocations: 4 kB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Templates: time 0.004162/0.4663, allocations: 1.463 MB / 0.6092 GB, free: 10.02 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches