Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 182 kB / 17.41 MB, free: 4.406 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.317/1.317, 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.00075/0.00075, allocations: 90.3 kB / 271.9 MB, free: 8.25 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.2956/0.2956, allocations: 43.56 MB / 363.8 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 15.98 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.4048, allocations: 86.78 MB / 0.5647 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4051, allocations: 79.95 kB / 0.5647 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.4157, allocations: 4.333 MB / 0.569 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4158, allocations: 0 / 0.569 GB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4158, 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.000423/0.4162, allocations: 375.5 kB / 0.5693 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4163, allocations: 12.03 kB / 0.5694 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4163, allocations: 8.828 kB / 0.5694 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.4165, allocations: 192.2 kB / 0.5695 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4166, allocations: 4.359 kB / 0.5695 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4166, allocations: 4.375 kB / 0.5696 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4168, allocations: 65.12 kB / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4168, allocations: 192 / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4168, allocations: 3.938 kB / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4168, allocations: 0 / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4169, allocations: 39.97 kB / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.4173, allocations: 280.9 kB / 0.5699 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4176, allocations: 50.44 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.4176, allocations: 24.94 kB / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4177, allocations: 0 / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4177, allocations: 30.84 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.4177, allocations: 0 / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.4183, allocations: 165.4 kB / 0.5702 GB, free: 9.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4184, allocations: 77.11 kB / 0.5703 GB, free: 9.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.4185, allocations: 140.5 kB / 0.5704 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.4185, allocations: 25.7 kB / 0.5704 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.4186, allocations: 92.08 kB / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4186, allocations: 27.64 kB / 0.5705 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.4186, allocations: 0 / 0.5705 GB, free: 9.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4188, allocations: 322.8 kB / 0.5708 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.4188, allocations: 19.98 kB / 0.5709 GB, free: 9.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.4189, allocations: 47.81 kB / 0.5709 GB, free: 9.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.4191, allocations: 56.83 kB / 0.571 GB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4191, allocations: 0 / 0.571 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.4193, allocations: 93.64 kB / 0.571 GB, free: 8.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4193, allocations: 8.625 kB / 0.5711 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4193, allocations: 0 / 0.5711 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4193, allocations: 3.984 kB / 0.5711 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.4194, allocations: 12 kB / 0.5711 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4194, allocations: 0 / 0.5711 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.4195, allocations: 7.984 kB / 0.5711 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4195, allocations: 4 kB / 0.5711 GB, free: 8.863 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 8.882e-05/0.4196, allocations: 125.8 kB / 0.5712 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.4196, allocations: 3.906 kB / 0.5712 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4199, allocations: 111.1 kB / 0.5713 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4199, allocations: 0 / 0.5713 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4199, allocations: 4 kB / 0.5713 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4199, allocations: 288 / 0.5713 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.4203, allocations: 358.9 kB / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4204, allocations: 4 kB / 0.5717 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.4204, allocations: 19.92 kB / 0.5717 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4204, allocations: 7.984 kB / 0.5717 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4204, allocations: 0 / 0.5717 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4204, allocations: 0.8438 kB / 0.5717 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4205, allocations: 0 / 0.5717 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4207, allocations: 203.4 kB / 0.5719 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.4208, allocations: 81.02 kB / 0.572 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4208, allocations: 8 kB / 0.572 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.4209, allocations: 7.984 kB / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4209, allocations: 7.938 kB / 0.572 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.4209, allocations: 0 / 0.572 GB, free: 7.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.421, allocations: 107.2 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 3.938 kB / 0.5721 GB, free: 7.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.4213, allocations: 28 kB / 0.5721 GB, free: 7.703 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.0009707/0.4223, allocations: 458.6 kB / 0.5726 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4225, allocations: 63.97 kB / 0.5726 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4225, allocations: 0 / 0.5726 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.4226, allocations: 35.91 kB / 0.5726 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4229, allocations: 11.98 kB / 0.5727 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.4233, allocations: 200.6 kB / 0.5728 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.4236, allocations: 0.6887 MB / 0.5735 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.4236, allocations: 15.44 kB / 0.5735 GB, free: 6.293 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4236, allocations: 0 / 0.5735 GB, free: 6.293 MB / 394.7 MB Notification: Performance of Templates: time 0.003086/0.4267, allocations: 1.576 MB / 0.5751 GB, free: 4.719 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches