Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.2 kB / 17.08 MB, free: 6.02 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.001096/0.001096, allocations: 196.1 kB / 18.01 MB, free: 5.098 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2049/0.2049, allocations: 43.52 MB / 314.8 MB, free: 464 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.001389/0.001389, allocations: 63.91 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002832/0.106, allocations: 1.551 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.1067, allocations: 327.5 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1068, allocations: 4 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1071, allocations: 91.75 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1073, allocations: 67.78 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1076, allocations: 99.7 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1078, allocations: 79.8 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1079, allocations: 7.984 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.108, allocations: 39.83 kB / 0.4907 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.1081, allocations: 47.89 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1081, allocations: 3.938 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.1082, allocations: 28 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1083, allocations: 23.91 kB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.1083, allocations: 27.75 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1085, allocations: 95.72 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1085, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1085, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1085, allocations: 0 / 0.491 GB, free: 9.289 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.0004537/0.109, allocations: 410.9 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.109, allocations: 11.89 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1091, allocations: 8.844 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1093, allocations: 204.7 kB / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1093, allocations: 4.375 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1093, allocations: 4.375 kB / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1095, allocations: 57.78 kB / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1095, allocations: 4 kB / 0.4916 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1095, allocations: 0 / 0.4916 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1095, allocations: 0 / 0.4916 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.1096, allocations: 19.98 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.11, allocations: 296.8 kB / 0.4919 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1102, allocations: 42.56 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.1103, allocations: 16.94 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1103, allocations: 4 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1104, allocations: 30.56 kB / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1104, allocations: 0 / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005705/0.1109, allocations: 157.2 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.111, allocations: 55.41 kB / 0.4922 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1112, allocations: 219.6 kB / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1112, allocations: 29.7 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.1113, allocations: 112 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1113, allocations: 15.8 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1114, allocations: 21.72 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1115, allocations: 326.8 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.1116, allocations: 23.92 kB / 0.4929 GB, free: 7.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.1116, allocations: 23.92 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1118, allocations: 61 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1118, allocations: 0 / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001988/0.112, allocations: 89.58 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.112, allocations: 7.938 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.112, allocations: 0 / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.112, allocations: 0 / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.1121, allocations: 19.92 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1121, allocations: 0 / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.1122, allocations: 4 kB / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1122, allocations: 3.984 kB / 0.4931 GB, free: 6.828 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 9.716e-05/0.1123, allocations: 133.7 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1123, allocations: 11.81 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1126, allocations: 102.6 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1126, allocations: 4 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1126, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1126, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.113, allocations: 366.4 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.113, allocations: 0 / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1131, allocations: 12 kB / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1131, allocations: 0 / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1131, allocations: 192 / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1131, allocations: 7.938 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1131, allocations: 0 / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1134, allocations: 191.4 kB / 0.4939 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1134, allocations: 85.02 kB / 0.494 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1135, allocations: 3.984 kB / 0.494 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.1135, allocations: 7.938 kB / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1136, allocations: 4 kB / 0.494 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1136, allocations: 4 kB / 0.494 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1137, allocations: 171.2 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 0 / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.114, allocations: 23.91 kB / 0.4942 GB, free: 5.613 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.000914/0.1149, allocations: 415.2 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1151, allocations: 55.91 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1151, allocations: 0 / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1152, allocations: 27.97 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1156, allocations: 23.55 kB / 0.4947 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.116, allocations: 264.1 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1163, allocations: 0.708 MB / 0.4957 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.1163, allocations: 11.44 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1164, allocations: 0 / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of Templates: time 0.003136/0.1195, allocations: 1.575 MB / 0.4972 GB, free: 2.535 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches