Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001092/0.001092, allocations: 85.58 kB / 270.9 MB, free: 8.379 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.5049/0.5049, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 12 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5866, allocations: 86.83 MB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5869, allocations: 75.97 kB / 0.5636 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.6048, allocations: 4.115 MB / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6048, allocations: 0 / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.6048, allocations: 0 / 0.5676 GB, free: 11.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006316/0.6055, allocations: 410.7 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.6055, allocations: 16.02 kB / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.6056, allocations: 15.25 kB / 0.568 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.6059, allocations: 195.5 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6059, allocations: 0 / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.606, allocations: 4 kB / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.6062, allocations: 57.67 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6062, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.6063, allocations: 5.031 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6063, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.6065, allocations: 51.91 kB / 0.5683 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.607, allocations: 295.8 kB / 0.5686 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.6072, allocations: 50.56 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.6073, allocations: 4 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.6073, allocations: 38.58 kB / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/0.6073, allocations: 0 / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001231/0.6086, allocations: 245.2 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.6086, allocations: 51.41 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.6089, allocations: 154.1 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.6089, allocations: 25.7 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.609, allocations: 162.6 kB / 0.5693 GB, free: 9.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.609, allocations: 27.64 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.609, allocations: 0.6562 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6092, allocations: 318.8 kB / 0.5696 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.6094, allocations: 39.97 kB / 0.5697 GB, free: 9.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.6096, allocations: 44.03 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6098, allocations: 48.03 kB / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6098, allocations: 0 / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004793/0.6103, allocations: 118.2 kB / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6104, allocations: 11.98 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6104, allocations: 0 / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6104, allocations: 3.953 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.6106, allocations: 27.92 kB / 0.5699 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.6107, allocations: 4 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.6108, allocations: 19.92 kB / 0.57 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6108, allocations: 4 kB / 0.57 GB, free: 9 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 (7): * Single equations (assignments): 7 * 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.0001109/0.6109, allocations: 113.8 kB / 0.5701 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.611, allocations: 11.91 kB / 0.5701 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.6116, allocations: 142.3 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6116, allocations: 0 / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6116, allocations: 7.953 kB / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6116, allocations: 3.984 kB / 0.5702 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.6125, allocations: 406.5 kB / 0.5706 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6125, allocations: 5.062 kB / 0.5706 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.6127, allocations: 23.98 kB / 0.5706 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6127, allocations: 288 / 0.5706 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.6127, allocations: 7.953 kB / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6127, allocations: 7.984 kB / 0.5707 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6127, allocations: 3.938 kB / 0.5707 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.6133, allocations: 224.9 kB / 0.5709 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.6134, allocations: 92.92 kB / 0.571 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.6134, allocations: 7.984 kB / 0.571 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.6136, allocations: 15.95 kB / 0.571 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.6136, allocations: 11.97 kB / 0.571 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.6136, allocations: 0 / 0.571 GB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.6138, allocations: 139.5 kB / 0.5711 GB, free: 7.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6138, allocations: 0 / 0.5711 GB, free: 7.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.6142, allocations: 23.94 kB / 0.5712 GB, free: 7.676 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 (7): * Single equations (assignments): 7 * 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.00116/0.6154, allocations: 419.7 kB / 0.5716 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.6159, allocations: 95.88 kB / 0.5716 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6159, allocations: 0 / 0.5716 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.6161, allocations: 47.97 kB / 0.5717 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6164, allocations: 17.41 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.6171, allocations: 261.1 kB / 0.572 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.6174, allocations: 0.7004 MB / 0.5726 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.6174, allocations: 19.42 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6175, allocations: 4 kB / 0.5727 GB, free: 6.172 MB / 394.7 MB Notification: Performance of Templates: time 0.004633/0.6221, allocations: 1.632 MB / 0.5743 GB, free: 4.539 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches