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.0009376/0.0009376, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.217/1.217, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008583/0.0008582, allocations: 91.92 kB / 292.2 MB, free: 10.71 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.3038/0.3038, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3405, allocations: 61.9 MB / 0.5096 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4508, allocations: 88.5 MB / 0.596 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.4511, allocations: 83.89 kB / 0.5961 GB, free: 6.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.4678, allocations: 7.845 MB / 0.6037 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4679, allocations: 0 / 0.6037 GB, free: 14.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.4679, allocations: 12 kB / 0.6037 GB, free: 14.69 MB / 426.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.0007242/0.4686, allocations: 0.6374 MB / 0.6044 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4687, allocations: 8.562 kB / 0.6044 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.4688, allocations: 39.44 kB / 0.6044 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.4693, allocations: 327.3 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4693, allocations: 0 / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4693, allocations: 4 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4694, allocations: 57.67 kB / 0.6048 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4695, allocations: 0 / 0.6048 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4695, allocations: 4 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4695, allocations: 0 / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.4696, allocations: 27.92 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.4702, allocations: 440.6 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4704, allocations: 50.5 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4705, allocations: 96 / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4705, allocations: 38.55 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4705, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006354/0.4711, allocations: 239.9 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4712, allocations: 55.36 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4723, allocations: 0.7902 MB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4723, allocations: 25.7 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4725, allocations: 228 kB / 0.6066 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.4725, allocations: 11.72 kB / 0.6066 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.4725, allocations: 0 / 0.6066 GB, free: 11.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4727, allocations: 366.8 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.4728, allocations: 19.98 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.4728, allocations: 27.98 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.248e-05/0.4729, allocations: 23.98 kB / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4729, allocations: 0 / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001988/0.4731, allocations: 125.3 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4731, allocations: 4 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4731, allocations: 0 / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4732, allocations: 4 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.4732, allocations: 11.98 kB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4732, allocations: 4 kB / 0.6072 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.4733, allocations: 15.89 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.4733, allocations: 0 / 0.6072 GB, free: 10.93 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 (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 0.0001689/0.4735, allocations: 213.8 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.4736, allocations: 43.44 kB / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.4738, allocations: 141 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4739, allocations: 4 kB / 0.6076 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4739, allocations: 4 kB / 0.6076 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4739, allocations: 3.984 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.4747, allocations: 0.5882 MB / 0.6082 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4747, allocations: 0 / 0.6082 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.4748, allocations: 12 kB / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4748, allocations: 4 kB / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4748, allocations: 0 / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4748, allocations: 3.984 kB / 0.6082 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4748, allocations: 3.953 kB / 0.6082 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4751, allocations: 223.2 kB / 0.6084 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4753, allocations: 160.5 kB / 0.6085 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.4754, allocations: 8.25 kB / 0.6086 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.4755, allocations: 11.98 kB / 0.6086 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.4755, allocations: 11.92 kB / 0.6086 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.4755, allocations: 3.953 kB / 0.6086 GB, free: 9.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006678/0.4762, allocations: 0.6355 MB / 0.6092 GB, free: 8.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4762, allocations: 3.938 kB / 0.6092 GB, free: 8.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.4765, allocations: 67.98 kB / 0.6093 GB, free: 8.688 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 (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.0008536/0.4774, allocations: 404.6 kB / 0.6097 GB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4776, allocations: 55.91 kB / 0.6097 GB, free: 8.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4776, allocations: 0 / 0.6097 GB, free: 8.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.4776, allocations: 31.98 kB / 0.6097 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4779, allocations: 17.97 kB / 0.6098 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4791, allocations: 0.9075 MB / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.4795, allocations: 0.834 MB / 0.6115 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.4795, allocations: 40.5 kB / 0.6115 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.4796, allocations: 27.38 kB / 0.6115 GB, free: 6.477 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4796, allocations: 0 / 0.6115 GB, free: 6.477 MB / 426.7 MB Notification: Performance of Templates: time 0.005577/0.4852, allocations: 2.427 MB / 0.6139 GB, free: 4.047 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