Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 180.8 kB / 17.41 MB, free: 4.266 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.285/1.285, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007211/0.0007212, allocations: 83.84 kB / 271.9 MB, free: 8.238 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.3059/0.3059, allocations: 43.55 MB / 363.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 16 kB / 432.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 58.85 MB / 491.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4211, allocations: 86.78 MB / 0.5647 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4213, allocations: 77.3 kB / 0.5648 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.4318, allocations: 4.32 MB / 0.569 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4318, allocations: 0 / 0.569 GB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.4319, allocations: 0 / 0.569 GB, free: 11.24 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.0004247/0.4323, allocations: 386.9 kB / 0.5693 GB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4324, allocations: 8.031 kB / 0.5693 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.4324, allocations: 12.84 kB / 0.5694 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4326, allocations: 192.2 kB / 0.5695 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4326, allocations: 384 / 0.5695 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.4327, allocations: 384 / 0.5695 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4328, allocations: 75.89 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4328, allocations: 192 / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4329, allocations: 7.922 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4329, allocations: 0 / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.433, allocations: 31.97 kB / 0.5697 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.4334, allocations: 280.9 kB / 0.5699 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4336, allocations: 54.44 kB / 0.57 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.4336, allocations: 16.94 kB / 0.57 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4337, allocations: 3.984 kB / 0.57 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4337, allocations: 34.84 kB / 0.57 GB, free: 9.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4337, allocations: 4 kB / 0.57 GB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005662/0.4343, allocations: 157.4 kB / 0.5702 GB, free: 9.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.4343, allocations: 85.05 kB / 0.5703 GB, free: 9.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4345, allocations: 137.8 kB / 0.5704 GB, free: 9.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4345, allocations: 29.7 kB / 0.5704 GB, free: 9.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.4346, allocations: 84.14 kB / 0.5705 GB, free: 9.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.4346, allocations: 26.84 kB / 0.5705 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.4346, allocations: 0 / 0.5705 GB, free: 9.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4347, allocations: 322.8 kB / 0.5708 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.4348, allocations: 27.98 kB / 0.5709 GB, free: 9.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.4349, allocations: 41.69 kB / 0.5709 GB, free: 9.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4351, allocations: 60.86 kB / 0.571 GB, free: 8.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4351, allocations: 0 / 0.571 GB, free: 8.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.4353, allocations: 89.61 kB / 0.571 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4353, allocations: 8 kB / 0.5711 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4353, allocations: 0 / 0.5711 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4353, allocations: 0 / 0.5711 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.4354, allocations: 19.98 kB / 0.5711 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4354, allocations: 3.984 kB / 0.5711 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.4354, allocations: 7.984 kB / 0.5711 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4355, allocations: 4 kB / 0.5711 GB, free: 8.84 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 9.034e-05/0.4356, allocations: 121.8 kB / 0.5712 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.4356, allocations: 3.906 kB / 0.5712 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.4358, allocations: 117.8 kB / 0.5713 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4359, allocations: 0 / 0.5713 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4359, allocations: 0 / 0.5713 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4359, allocations: 0 / 0.5713 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.4363, allocations: 362.5 kB / 0.5717 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4363, allocations: 0 / 0.5717 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.4364, allocations: 19.92 kB / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4364, allocations: 0 / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4364, allocations: 0 / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4364, allocations: 0 / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4364, allocations: 0 / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4367, allocations: 203.4 kB / 0.5719 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.4367, allocations: 81.02 kB / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.4368, allocations: 4 kB / 0.572 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.4368, allocations: 11.92 kB / 0.572 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.4369, allocations: 11.94 kB / 0.572 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4369, allocations: 4 kB / 0.572 GB, free: 7.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.437, allocations: 104 kB / 0.5721 GB, free: 7.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.437, allocations: 0 / 0.5721 GB, free: 7.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4372, allocations: 24 kB / 0.5721 GB, free: 7.691 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.0009145/0.4381, allocations: 461.4 kB / 0.5725 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4383, allocations: 51.97 kB / 0.5726 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4384, allocations: 4 kB / 0.5726 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.4384, allocations: 43.91 kB / 0.5726 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.4387, allocations: 8 kB / 0.5726 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.4391, allocations: 200.6 kB / 0.5728 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.4394, allocations: 0.6887 MB / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4394, allocations: 19.44 kB / 0.5735 GB, free: 6.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4394, allocations: 0 / 0.5735 GB, free: 6.266 MB / 394.7 MB Notification: Performance of Templates: time 0.002988/0.4424, allocations: 1.577 MB / 0.5751 GB, free: 4.691 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches