Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001237/0.001237, allocations: 198.9 kB / 18.02 MB, free: 5.027 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2132/0.2132, allocations: 43.52 MB / 314.8 MB, free: 456 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.001375/0.001375, allocations: 69.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1184, allocations: 57.81 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.003314/0.1218, allocations: 1.547 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.1225, allocations: 327.5 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1226, allocations: 4 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.123, allocations: 107.7 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1232, allocations: 79.72 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1235, allocations: 99.73 kB / 0.4907 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1237, allocations: 67.88 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1239, allocations: 15.98 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.1239, allocations: 35.83 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1241, allocations: 59.88 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1241, allocations: 4 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.1242, allocations: 39.92 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1242, allocations: 19.92 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.1243, allocations: 39.67 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1245, allocations: 91.72 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1245, allocations: 0 / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1245, allocations: 0 / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1245, allocations: 0 / 0.491 GB, free: 9.238 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.0005486/0.1251, allocations: 414.8 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1251, allocations: 11.89 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.1252, allocations: 8.844 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1254, allocations: 207.9 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1254, allocations: 12.36 kB / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1255, allocations: 384 / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1256, allocations: 49.81 kB / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1256, allocations: 0 / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1256, allocations: 4 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1257, allocations: 0 / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1257, allocations: 23.98 kB / 0.4917 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1262, allocations: 296.8 kB / 0.492 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1264, allocations: 42.55 kB / 0.492 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1265, allocations: 16.86 kB / 0.4921 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1265, allocations: 0 / 0.4921 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1265, allocations: 34.64 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1265, allocations: 0 / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005631/0.1271, allocations: 157.1 kB / 0.4922 GB, free: 7.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1271, allocations: 55.41 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1274, allocations: 242.6 kB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1274, allocations: 25.7 kB / 0.4925 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1275, allocations: 112.1 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1275, allocations: 11.8 kB / 0.4927 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1275, allocations: 21.72 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1277, allocations: 326.8 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.1278, allocations: 19.98 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1279, allocations: 23.92 kB / 0.493 GB, free: 6.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.128, allocations: 61 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.128, allocations: 3.938 kB / 0.4931 GB, free: 6.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1282, allocations: 89.58 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1282, allocations: 4 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1283, allocations: 0 / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1283, allocations: 0 / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.1283, allocations: 15.98 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1284, allocations: 0 / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.1284, allocations: 11.84 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1284, allocations: 3.984 kB / 0.4932 GB, free: 6.75 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.0001484/0.1286, allocations: 145.6 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.1286, allocations: 15.89 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.1289, allocations: 102.6 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1289, allocations: 0 / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1289, allocations: 0 / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1289, allocations: 4.281 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.1294, allocations: 366.4 kB / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1294, allocations: 8 kB / 0.4938 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1295, allocations: 8 kB / 0.4938 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1295, allocations: 0 / 0.4938 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1295, allocations: 7.969 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.1295, allocations: 4.125 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1295, allocations: 8 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1298, allocations: 187.3 kB / 0.494 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1298, allocations: 89 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1298, allocations: 4 kB / 0.4941 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1299, allocations: 3.938 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.13, allocations: 7.984 kB / 0.4941 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.13, allocations: 0 / 0.4941 GB, free: 5.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1301, allocations: 183.2 kB / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1301, allocations: 0 / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1304, allocations: 15.98 kB / 0.4943 GB, free: 5.504 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.0009084/0.1313, allocations: 411.5 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1316, allocations: 47.97 kB / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1316, allocations: 0 / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.1317, allocations: 27.92 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.132, allocations: 27.78 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.1326, allocations: 291.9 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1329, allocations: 0.708 MB / 0.4958 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.1329, allocations: 15.44 kB / 0.4958 GB, free: 3.965 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.133, allocations: 0 / 0.4958 GB, free: 3.965 MB / 382.1 MB Notification: Performance of Templates: time 0.003297/0.1363, allocations: 1.583 MB / 0.4974 GB, free: 2.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches