Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008362/0.0008365, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.205/1.205, allocations: 205.4 MB / 222.9 MB, free: 8.953 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.0006488/0.0006488, allocations: 74.44 kB / 271.2 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.3045/0.3045, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002053/0.1219, allocations: 1.309 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000635/0.1225, allocations: 327.8 kB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.1226, allocations: 0 / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1228, allocations: 47.88 kB / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.123, allocations: 55.81 kB / 492.6 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1235, allocations: 139.8 kB / 492.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1236, allocations: 59.83 kB / 492.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1238, allocations: 31.83 kB / 492.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.1238, allocations: 23.91 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.1239, allocations: 39.83 kB / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1239, allocations: 0 / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.124, allocations: 28 kB / 492.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.1241, allocations: 19.92 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1242, allocations: 49.5 kB / 492.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1243, allocations: 72.11 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1243, allocations: 0 / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1243, allocations: 4 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1243, allocations: 0 / 493 MB, free: 8.684 MB / 378.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.0004948/0.1248, allocations: 402.7 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1249, allocations: 8.031 kB / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1249, allocations: 16.75 kB / 493.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1251, allocations: 192.1 kB / 493.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1251, allocations: 8.375 kB / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1252, allocations: 384 / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1254, allocations: 69.8 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1254, allocations: 0 / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1254, allocations: 0 / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1254, allocations: 4 kB / 493.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1256, allocations: 51.91 kB / 493.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.1261, allocations: 308.8 kB / 494 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1262, allocations: 54.55 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.1263, allocations: 28.94 kB / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1263, allocations: 0 / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1264, allocations: 34.56 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1264, allocations: 3.938 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009171/0.1273, allocations: 269 kB / 494.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1274, allocations: 55.34 kB / 494.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1276, allocations: 186.2 kB / 494.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1276, allocations: 25.7 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.1277, allocations: 112.1 kB / 494.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1277, allocations: 23.56 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.1277, allocations: 0 / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1278, allocations: 326.8 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.128, allocations: 44.05 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1281, allocations: 55.95 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1283, allocations: 104.8 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1283, allocations: 0 / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002684/0.1286, allocations: 141.5 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1286, allocations: 4 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1286, allocations: 0 / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1286, allocations: 4 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1287, allocations: 19.98 kB / 495.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1287, allocations: 320 / 495.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.1288, allocations: 23.92 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1288, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.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 8.894e-05/0.1289, allocations: 133.8 kB / 495.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.129, allocations: 7.906 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.1293, allocations: 162.2 kB / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1293, allocations: 0 / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1293, allocations: 0 / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1293, allocations: 3.938 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.1299, allocations: 422.5 kB / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1299, allocations: 0 / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.13, allocations: 31.92 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.13, allocations: 3.984 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.13, allocations: 3.938 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.13, allocations: 4 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.13, allocations: 0 / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1303, allocations: 239.3 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.1304, allocations: 85.02 kB / 496.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1304, allocations: 7.938 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.1305, allocations: 23.98 kB / 496.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1306, allocations: 7.984 kB / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1306, allocations: 0 / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1307, allocations: 147.9 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1307, allocations: 0 / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.1309, allocations: 19.98 kB / 496.8 MB, free: 4.562 MB / 378.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.0008272/0.1317, allocations: 390.4 kB / 497.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.132, allocations: 107.9 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1321, allocations: 0 / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1322, allocations: 59.91 kB / 497.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1325, allocations: 15.98 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.133, allocations: 286.8 kB / 497.6 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1332, allocations: 0.7043 MB / 498.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1333, allocations: 11.44 kB / 498.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1333, allocations: 4 kB / 498.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003216/0.1365, allocations: 1.669 MB / 0.4883 GB, free: 1.312 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches