Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.4 kB / 17.08 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 198.5 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2171/0.2171, allocations: 43.51 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 69.8 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 57.79 MB / 0.4885 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003182/0.1201, allocations: 1.547 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.1207, allocations: 331.5 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.1208, allocations: 4 kB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1212, allocations: 75.77 kB / 0.4904 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.1214, allocations: 63.81 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1218, allocations: 99.67 kB / 0.4906 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.122, allocations: 67.88 kB / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1221, allocations: 19.97 kB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.1222, allocations: 35.8 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1224, allocations: 51.88 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1224, allocations: 0 / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1225, allocations: 27.94 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.1226, allocations: 19.92 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.1227, allocations: 35.72 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1229, allocations: 83.73 kB / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1229, allocations: 0 / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1229, allocations: 0 / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1229, allocations: 4 kB / 0.4909 GB, free: 9.301 MB / 382.1 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.0005891/0.1235, allocations: 395 kB / 0.4913 GB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1236, allocations: 11.89 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.1236, allocations: 8.844 kB / 0.4913 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1239, allocations: 208 kB / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1239, allocations: 4.375 kB / 0.4915 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1239, allocations: 384 / 0.4915 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1241, allocations: 53.8 kB / 0.4916 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1242, allocations: 4 kB / 0.4916 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1242, allocations: 0 / 0.4916 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1242, allocations: 4 kB / 0.4916 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.1243, allocations: 19.98 kB / 0.4916 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1248, allocations: 288.8 kB / 0.4919 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.125, allocations: 46.5 kB / 0.4919 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1251, allocations: 24.94 kB / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1251, allocations: 3.938 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1251, allocations: 34.56 kB / 0.492 GB, free: 8.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1251, allocations: 0 / 0.492 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006571/0.1258, allocations: 157.2 kB / 0.4921 GB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1259, allocations: 55.41 kB / 0.4922 GB, free: 7.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1261, allocations: 198.2 kB / 0.4924 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1261, allocations: 29.7 kB / 0.4924 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.1262, allocations: 96.14 kB / 0.4925 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1262, allocations: 23.64 kB / 0.4925 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1262, allocations: 17.72 kB / 0.4925 GB, free: 7.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1264, allocations: 326.8 kB / 0.4929 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.1265, allocations: 23.98 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.1265, allocations: 23.92 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1267, allocations: 48.83 kB / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1267, allocations: 0 / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.1269, allocations: 89.56 kB / 0.493 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1269, allocations: 4 kB / 0.493 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1269, allocations: 0 / 0.493 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.127, allocations: 7.938 kB / 0.493 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.127, allocations: 15.98 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1271, allocations: 0 / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1271, allocations: 4 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1271, allocations: 3.984 kB / 0.4931 GB, free: 6.891 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1273, allocations: 141.6 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1273, allocations: 7.906 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1276, allocations: 102 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1276, allocations: 0 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1276, allocations: 320 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1276, allocations: 0 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1281, allocations: 366.4 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1281, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1282, allocations: 15.98 kB / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1282, allocations: 0 / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1282, allocations: 8 kB / 0.4937 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1282, allocations: 3.938 kB / 0.4937 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1282, allocations: 3.938 kB / 0.4937 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1285, allocations: 187.3 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1285, allocations: 85.02 kB / 0.4939 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1285, allocations: 288 / 0.4939 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1286, allocations: 15.92 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.1287, allocations: 8 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1287, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1288, allocations: 164 kB / 0.4941 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1288, allocations: 0 / 0.4941 GB, free: 5.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1291, allocations: 16 kB / 0.4941 GB, free: 5.68 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.1301, allocations: 392.5 kB / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1304, allocations: 59.95 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1304, allocations: 0 / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.1305, allocations: 27.92 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1309, allocations: 23.84 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.1315, allocations: 251.7 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1319, allocations: 0.7041 MB / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.1319, allocations: 11.44 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1319, allocations: 3.938 kB / 0.4956 GB, free: 4.195 MB / 382.1 MB Notification: Performance of Templates: time 0.004389/0.1363, allocations: 1.516 MB / 0.497 GB, free: 2.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches