Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.9 kB / 17.41 MB, free: 4.402 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.514/1.514, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000806/0.0008062, allocations: 100.7 kB / 271.9 MB, free: 8.246 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.3356/0.3356, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/0.4149, allocations: 86.79 MB / 0.5647 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4152, allocations: 75.95 kB / 0.5648 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.4255, allocations: 4.321 MB / 0.569 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4255, allocations: 0 / 0.569 GB, free: 11.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4256, allocations: 4 kB / 0.569 GB, free: 11.27 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.0003344/0.4259, allocations: 387.4 kB / 0.5693 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4259, allocations: 8.031 kB / 0.5694 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.426, allocations: 8.844 kB / 0.5694 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.4262, allocations: 192.2 kB / 0.5695 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4262, allocations: 4.375 kB / 0.5695 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.4262, allocations: 384 / 0.5696 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.4264, allocations: 63.97 kB / 0.5696 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4264, allocations: 192 / 0.5696 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4264, allocations: 3.938 kB / 0.5696 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.4264, allocations: 0 / 0.5696 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.4265, allocations: 35.91 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.4268, allocations: 282.6 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.427, allocations: 50.5 kB / 0.57 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.4271, allocations: 24.94 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4271, allocations: 3.938 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4271, allocations: 34.84 kB / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.046e-06/0.4271, allocations: 3.984 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005074/0.4277, allocations: 161.4 kB / 0.5702 GB, free: 9.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4277, allocations: 77.11 kB / 0.5703 GB, free: 9.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4278, allocations: 133.8 kB / 0.5704 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4279, allocations: 29.7 kB / 0.5704 GB, free: 9.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.4279, allocations: 96.08 kB / 0.5705 GB, free: 9.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.4279, allocations: 27.64 kB / 0.5705 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.4279, allocations: 0 / 0.5705 GB, free: 9.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4281, allocations: 318.8 kB / 0.5708 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.4281, allocations: 23.98 kB / 0.5709 GB, free: 9.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.4282, allocations: 46.19 kB / 0.5709 GB, free: 9.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4284, allocations: 61.02 kB / 0.571 GB, free: 9.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4284, allocations: 0 / 0.571 GB, free: 9.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.4286, allocations: 97.62 kB / 0.5711 GB, free: 8.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4286, allocations: 7.125 kB / 0.5711 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.4286, allocations: 0 / 0.5711 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.4286, allocations: 4 kB / 0.5711 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.4287, allocations: 8 kB / 0.5711 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4287, allocations: 4 kB / 0.5711 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.4288, allocations: 7.984 kB / 0.5711 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.4288, allocations: 4 kB / 0.5711 GB, free: 8.875 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 6.953e-05/0.4288, allocations: 121.8 kB / 0.5712 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4289, allocations: 7.906 kB / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4291, allocations: 105.5 kB / 0.5713 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4291, allocations: 4 kB / 0.5713 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4291, allocations: 4 kB / 0.5713 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4291, allocations: 0 / 0.5713 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.4295, allocations: 358.5 kB / 0.5717 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4296, allocations: 0 / 0.5717 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.4296, allocations: 23.92 kB / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4296, allocations: 0 / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4296, allocations: 0 / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4297, allocations: 0 / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4297, allocations: 0 / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4299, allocations: 207.5 kB / 0.5719 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.4299, allocations: 81.02 kB / 0.572 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.43, allocations: 0 / 0.572 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.43, allocations: 11.98 kB / 0.572 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4301, allocations: 7.938 kB / 0.572 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4301, allocations: 7.938 kB / 0.572 GB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.4302, allocations: 107.2 kB / 0.5721 GB, free: 7.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4302, allocations: 0 / 0.5721 GB, free: 7.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.4304, allocations: 28 kB / 0.5721 GB, free: 7.719 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.0008195/0.4312, allocations: 461.6 kB / 0.5726 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.4314, allocations: 59.95 kB / 0.5726 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4314, allocations: 0 / 0.5726 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.4315, allocations: 31.98 kB / 0.5726 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4318, allocations: 15.98 kB / 0.5727 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4321, allocations: 204.6 kB / 0.5729 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.4324, allocations: 0.6887 MB / 0.5735 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.4324, allocations: 15.44 kB / 0.5735 GB, free: 6.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4324, allocations: 0 / 0.5735 GB, free: 6.301 MB / 394.7 MB Notification: Performance of Templates: time 0.002704/0.4351, allocations: 1.572 MB / 0.5751 GB, free: 4.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches