Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.584/1.584, 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.0009525/0.0009524, allocations: 98.88 kB / 270.2 MB, free: 13.36 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.2178/0.2178, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5439, allocations: 86.5 MB / 0.5632 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5443, allocations: 75.22 kB / 0.5633 GB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01012/0.5544, allocations: 3.997 MB / 0.5672 GB, free: 9.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5544, allocations: 0 / 0.5672 GB, free: 9.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5545, allocations: 4 kB / 0.5672 GB, free: 9.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004791/0.555, allocations: 404.4 kB / 0.5676 GB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.555, allocations: 12.02 kB / 0.5676 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.5551, allocations: 11.81 kB / 0.5676 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.5553, allocations: 209.3 kB / 0.5678 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5554, allocations: 4 kB / 0.5678 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.5554, allocations: 2.75 kB / 0.5678 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5555, allocations: 55.12 kB / 0.5679 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5556, allocations: 0 / 0.5679 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.5556, allocations: 0 / 0.5679 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5556, allocations: 0 / 0.5679 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.5557, allocations: 26.84 kB / 0.5679 GB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.5561, allocations: 301.7 kB / 0.5682 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.5564, allocations: 47.19 kB / 0.5682 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.5564, allocations: 0 / 0.5682 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5564, allocations: 37.06 kB / 0.5683 GB, free: 8.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.5564, allocations: 0 / 0.5683 GB, free: 8.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005954/0.557, allocations: 183.5 kB / 0.5684 GB, free: 8.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5571, allocations: 51.41 kB / 0.5685 GB, free: 8.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.5573, allocations: 205.4 kB / 0.5687 GB, free: 8.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5573, allocations: 29.69 kB / 0.5687 GB, free: 8.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.5574, allocations: 103.8 kB / 0.5688 GB, free: 8.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.5574, allocations: 14.86 kB / 0.5688 GB, free: 8.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.5574, allocations: 0 / 0.5688 GB, free: 8.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5576, allocations: 325.5 kB / 0.5691 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.5577, allocations: 27.67 kB / 0.5692 GB, free: 7.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/0.5577, allocations: 27.11 kB / 0.5692 GB, free: 7.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.5578, allocations: 30.8 kB / 0.5692 GB, free: 7.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5578, allocations: 0 / 0.5692 GB, free: 7.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.558, allocations: 108.4 kB / 0.5693 GB, free: 7.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.558, allocations: 7.438 kB / 0.5693 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5581, allocations: 0 / 0.5693 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5581, allocations: 0 / 0.5693 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.5581, allocations: 12 kB / 0.5693 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5582, allocations: 7.984 kB / 0.5693 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.5582, allocations: 8 kB / 0.5694 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5582, allocations: 3.953 kB / 0.5694 GB, free: 7.57 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 (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.0001158/0.5583, allocations: 132.7 kB / 0.5695 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.5584, allocations: 11.81 kB / 0.5695 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.5587, allocations: 117.1 kB / 0.5696 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5587, allocations: 4 kB / 0.5696 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5587, allocations: 0 / 0.5696 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5587, allocations: 0 / 0.5696 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.5592, allocations: 384.8 kB / 0.57 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5592, allocations: 4 kB / 0.57 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.5592, allocations: 15.98 kB / 0.57 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5593, allocations: 3.938 kB / 0.57 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.5593, allocations: 3.312 kB / 0.57 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5593, allocations: 0 / 0.57 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5593, allocations: 3.984 kB / 0.57 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.5595, allocations: 205.4 kB / 0.5702 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.5596, allocations: 93 kB / 0.5703 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5597, allocations: 4.062 kB / 0.5703 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.5597, allocations: 11.19 kB / 0.5703 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.5598, allocations: 3.984 kB / 0.5703 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.5598, allocations: 0 / 0.5703 GB, free: 6.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5599, allocations: 173 kB / 0.5705 GB, free: 6.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.56, allocations: 0 / 0.5705 GB, free: 6.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.5602, allocations: 23.98 kB / 0.5705 GB, free: 6.391 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 (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.0008863/0.5611, allocations: 410.3 kB / 0.5709 GB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5613, allocations: 59.08 kB / 0.5709 GB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5613, allocations: 3.812 kB / 0.571 GB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.5614, allocations: 27.17 kB / 0.571 GB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5616, allocations: 15.92 kB / 0.571 GB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.5621, allocations: 270.1 kB / 0.5713 GB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5624, allocations: 0.7121 MB / 0.5719 GB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.5625, allocations: 20.16 kB / 0.572 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5625, allocations: 18.67 kB / 0.572 GB, free: 4.902 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5625, allocations: 4 kB / 0.572 GB, free: 4.898 MB / 378.7 MB Notification: Performance of Templates: time 0.003539/0.5661, allocations: 1.175 MB / 0.5731 GB, free: 3.738 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches