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.001537/0.001537, allocations: 119.3 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.001572/0.001572, allocations: 197.2 kB / 18.01 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.44/1.44, 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.2056/0.2056, allocations: 43.53 MB / 314.8 MB, free: 440 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.001441/0.001441, allocations: 69.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002839/0.1075, allocations: 1.547 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.1081, allocations: 335.5 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.1082, allocations: 0 / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1085, allocations: 91.69 kB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1087, allocations: 71.78 kB / 0.4905 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.109, allocations: 99.73 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1092, allocations: 67.89 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1093, allocations: 11.98 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1094, allocations: 39.83 kB / 0.4907 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1095, allocations: 51.83 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1095, allocations: 4 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.1096, allocations: 23.98 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1096, allocations: 23.92 kB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1097, allocations: 35.73 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1099, allocations: 87.72 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1099, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1099, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1099, 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.0004691/0.1104, allocations: 410.9 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1104, allocations: 11.89 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1105, allocations: 8.844 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1106, allocations: 208.6 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1107, allocations: 8.375 kB / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1107, allocations: 384 / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1108, allocations: 49.81 kB / 0.4916 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1109, allocations: 0 / 0.4916 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1109, allocations: 4 kB / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1109, allocations: 0 / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.111, allocations: 23.98 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1113, allocations: 288.8 kB / 0.4919 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1116, allocations: 50.55 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.1116, allocations: 12.86 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1116, allocations: 0 / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1117, allocations: 34.56 kB / 0.492 GB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.1117, allocations: 3.984 kB / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005645/0.1123, allocations: 161.2 kB / 0.4922 GB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1123, allocations: 51.41 kB / 0.4922 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1125, allocations: 223.6 kB / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1125, allocations: 29.7 kB / 0.4925 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1126, allocations: 112 kB / 0.4926 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1126, allocations: 15.81 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1127, allocations: 17.72 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1128, allocations: 330.7 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1129, allocations: 19.92 kB / 0.4929 GB, free: 7.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.113, allocations: 27.97 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1131, allocations: 56.95 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1131, allocations: 0 / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.1133, allocations: 89.58 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1133, allocations: 4 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1133, allocations: 0 / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1133, allocations: 0 / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1134, allocations: 19.92 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1134, allocations: 0 / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.1135, allocations: 7.984 kB / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1135, allocations: 4 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.689e-05/0.1136, allocations: 137.7 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1136, allocations: 11.81 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1139, allocations: 98.66 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1139, allocations: 0 / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1139, allocations: 0 / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1139, allocations: 0 / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.1143, allocations: 370.4 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1143, allocations: 4 kB / 0.4937 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.1144, allocations: 8 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1144, allocations: 0 / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1144, allocations: 0 / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1144, allocations: 8.109 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1144, allocations: 7.984 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1146, allocations: 187.4 kB / 0.4939 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.1147, allocations: 89 kB / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1147, allocations: 0 / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1148, allocations: 7.938 kB / 0.494 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1148, allocations: 7.984 kB / 0.494 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1148, allocations: 0 / 0.494 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.115, allocations: 171.2 kB / 0.4942 GB, free: 5.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.115, allocations: 0 / 0.4942 GB, free: 5.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1152, allocations: 19.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.0008547/0.1161, allocations: 415.9 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1163, allocations: 51.89 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1163, allocations: 0 / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1164, allocations: 27.98 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.0003568/0.1167, allocations: 27.72 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1172, allocations: 260.1 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1174, allocations: 0.708 MB / 0.4957 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1175, allocations: 15.42 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1175, allocations: 0 / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of Templates: time 0.003186/0.1207, allocations: 1.552 MB / 0.4972 GB, free: 2.547 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