Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002169/0.002169, allocations: 182.4 kB / 15.76 MB, free: 6.367 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.706/1.706, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009442/0.0009442, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003381, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5657, allocations: 86.84 MB / 0.5636 GB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.566, allocations: 74.84 kB / 0.5636 GB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.5771, allocations: 4.102 MB / 0.5676 GB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5771, allocations: 0 / 0.5676 GB, free: 9.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.5772, allocations: 0 / 0.5676 GB, free: 9.402 MB / 378.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.0004928/0.5777, allocations: 417.9 kB / 0.568 GB, free: 8.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5777, allocations: 12.02 kB / 0.568 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.5778, allocations: 11.86 kB / 0.5681 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.578, allocations: 194.4 kB / 0.5682 GB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5781, allocations: 4 kB / 0.5682 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5781, allocations: 3.312 kB / 0.5682 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.5783, allocations: 56.94 kB / 0.5683 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5783, allocations: 7.984 kB / 0.5683 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5783, allocations: 7.922 kB / 0.5683 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5783, allocations: 0 / 0.5683 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.5785, allocations: 43.28 kB / 0.5684 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.5789, allocations: 305.3 kB / 0.5686 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5791, allocations: 41.81 kB / 0.5687 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.5791, allocations: 0 / 0.5687 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5792, allocations: 38.12 kB / 0.5687 GB, free: 8.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.5792, allocations: 0 / 0.5687 GB, free: 8.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008075/0.58, allocations: 247.4 kB / 0.569 GB, free: 7.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.58, allocations: 51.41 kB / 0.569 GB, free: 7.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5802, allocations: 155.3 kB / 0.5692 GB, free: 7.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5802, allocations: 33.7 kB / 0.5692 GB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.5803, allocations: 102.4 kB / 0.5693 GB, free: 7.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5803, allocations: 23.25 kB / 0.5693 GB, free: 7.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5803, allocations: 0 / 0.5693 GB, free: 7.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5805, allocations: 322.4 kB / 0.5696 GB, free: 7.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5806, allocations: 42.47 kB / 0.5697 GB, free: 7.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.5807, allocations: 42.53 kB / 0.5697 GB, free: 7.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5808, allocations: 38.8 kB / 0.5697 GB, free: 7.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5808, allocations: 4 kB / 0.5697 GB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003132/0.5811, allocations: 127.1 kB / 0.5699 GB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5812, allocations: 4 kB / 0.5699 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5812, allocations: 4 kB / 0.5699 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5812, allocations: 3.953 kB / 0.5699 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.5814, allocations: 31.91 kB / 0.5699 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5814, allocations: 320 / 0.5699 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.5815, allocations: 8 kB / 0.5699 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5815, allocations: 7.984 kB / 0.5699 GB, free: 6.988 MB / 378.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.0001342/0.5816, allocations: 128.8 kB / 0.57 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.5817, allocations: 7.906 kB / 0.57 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.5821, allocations: 147.9 kB / 0.5702 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5821, allocations: 0 / 0.5702 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5821, allocations: 3.953 kB / 0.5702 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5821, allocations: 0 / 0.5702 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.5828, allocations: 415.6 kB / 0.5706 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5828, allocations: 4 kB / 0.5706 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.5829, allocations: 19.98 kB / 0.5706 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5829, allocations: 4 kB / 0.5706 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.5829, allocations: 7.953 kB / 0.5706 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.583, allocations: 0 / 0.5706 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.583, allocations: 3.938 kB / 0.5706 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.5834, allocations: 223.9 kB / 0.5708 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.5835, allocations: 92.86 kB / 0.5709 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5835, allocations: 7.438 kB / 0.5709 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.5836, allocations: 15.94 kB / 0.571 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.5837, allocations: 7.984 kB / 0.571 GB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.5837, allocations: 0 / 0.571 GB, free: 5.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.5839, allocations: 141.5 kB / 0.5711 GB, free: 5.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5839, allocations: 0 / 0.5711 GB, free: 5.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.5842, allocations: 31.17 kB / 0.5711 GB, free: 5.75 MB / 378.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.001159/0.5853, allocations: 407.2 kB / 0.5715 GB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.5857, allocations: 94.94 kB / 0.5716 GB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5857, allocations: 0 / 0.5716 GB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.5859, allocations: 50.91 kB / 0.5717 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.5862, allocations: 22.52 kB / 0.5717 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.5867, allocations: 231 kB / 0.5719 GB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.587, allocations: 0.7056 MB / 0.5726 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.5871, allocations: 12.28 kB / 0.5726 GB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.5871, allocations: 19.98 kB / 0.5726 GB, free: 4.266 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5871, allocations: 0 / 0.5726 GB, free: 4.266 MB / 378.7 MB Notification: Performance of Templates: time 0.003935/0.5911, allocations: 1.216 MB / 0.5738 GB, free: 3.062 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches