Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26") translateModel(ModelicaTest.Tables.CombiTable1D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.364/1.364, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007425/0.0007425, allocations: 85.41 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3619/0.3619, allocations: 43.56 MB / 363.8 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.5168, allocations: 86.53 MB / 0.5644 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5171, allocations: 71.97 kB / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009781/0.5269, allocations: 3.949 MB / 0.5684 GB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.527, allocations: 0 / 0.5684 GB, free: 11.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.527, allocations: 4 kB / 0.5684 GB, free: 11.75 MB / 394.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.0004007/0.5274, allocations: 406.6 kB / 0.5687 GB, free: 11.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5274, allocations: 8.031 kB / 0.5688 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.5275, allocations: 13.86 kB / 0.5688 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.5277, allocations: 204.1 kB / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.5277, allocations: 384 / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.5278, allocations: 4.375 kB / 0.569 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.5279, allocations: 50.25 kB / 0.569 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5279, allocations: 192 / 0.569 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5279, allocations: 7.938 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.528, allocations: 2.812 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.5281, allocations: 31.97 kB / 0.5691 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.5284, allocations: 296.8 kB / 0.5693 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.5287, allocations: 50.5 kB / 0.5694 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.5287, allocations: 15.77 kB / 0.5694 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5287, allocations: 4.078 kB / 0.5694 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5288, allocations: 34.56 kB / 0.5694 GB, free: 10.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5288, allocations: 4 kB / 0.5694 GB, free: 10.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005342/0.5293, allocations: 165.4 kB / 0.5696 GB, free: 10.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5294, allocations: 55.41 kB / 0.5697 GB, free: 10.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.5296, allocations: 198.2 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.5296, allocations: 29.64 kB / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.5296, allocations: 116 kB / 0.57 GB, free: 9.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5297, allocations: 11.8 kB / 0.57 GB, free: 9.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5297, allocations: 0 / 0.57 GB, free: 9.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5298, allocations: 326.8 kB / 0.5703 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.5299, allocations: 27.98 kB / 0.5703 GB, free: 9.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.53, allocations: 23.98 kB / 0.5704 GB, free: 9.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5301, allocations: 56.83 kB / 0.5704 GB, free: 9.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5301, allocations: 4 kB / 0.5704 GB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.5303, allocations: 97.56 kB / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5303, allocations: 4 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5304, allocations: 0 / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5304, allocations: 0 / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.5304, allocations: 19.92 kB / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5305, allocations: 4 kB / 0.5705 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.5305, allocations: 8.562 kB / 0.5705 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5305, allocations: 0 / 0.5705 GB, free: 9.309 MB / 394.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.0001022/0.5306, allocations: 141.7 kB / 0.5707 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.5307, allocations: 11.91 kB / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.5309, allocations: 114.1 kB / 0.5708 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5309, allocations: 0 / 0.5708 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.531, allocations: 4.062 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.531, allocations: 0 / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.5314, allocations: 386.4 kB / 0.5712 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5314, allocations: 1.031 kB / 0.5712 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.5315, allocations: 15.98 kB / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5315, allocations: 288 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5315, allocations: 0 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5315, allocations: 0 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5315, allocations: 0 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.5318, allocations: 207.3 kB / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.5319, allocations: 89.02 kB / 0.5715 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.5319, allocations: 0 / 0.5715 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.532, allocations: 11.98 kB / 0.5715 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.532, allocations: 7.938 kB / 0.5715 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.532, allocations: 7.938 kB / 0.5715 GB, free: 8.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5322, allocations: 159.8 kB / 0.5716 GB, free: 8.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5322, allocations: 3.938 kB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000245/0.5324, allocations: 20 kB / 0.5717 GB, free: 8.055 MB / 394.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.0009176/0.5333, allocations: 403.3 kB / 0.5721 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.5336, allocations: 59.91 kB / 0.5721 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5336, allocations: 0 / 0.5721 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.5337, allocations: 31.98 kB / 0.5721 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.534, allocations: 15.98 kB / 0.5722 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.5345, allocations: 281 kB / 0.5724 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5347, allocations: 0.7043 MB / 0.5731 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.5348, allocations: 15.44 kB / 0.5731 GB, free: 6.602 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5348, allocations: 0 / 0.5731 GB, free: 6.602 MB / 394.7 MB Notification: Performance of Templates: time 0.003462/0.5383, allocations: 1.565 MB / 0.5747 GB, free: 5.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches