Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,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_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 119.3 kB / 17.09 MB, free: 5.953 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.001214/0.001214, allocations: 197.2 kB / 18.01 MB, free: 5.039 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2057/0.2057, allocations: 43.53 MB / 314.8 MB, free: 444 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.001548/0.001548, allocations: 69.62 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003118/0.109, allocations: 1.616 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1106, allocations: 0.9691 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1106, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1109, allocations: 27.78 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1112, allocations: 47.77 kB / 0.4911 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1116, allocations: 155.6 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1118, allocations: 67.78 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1119, allocations: 23.97 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.112, allocations: 23.91 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1121, allocations: 31.86 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1122, allocations: 4 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1123, allocations: 55.95 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.1124, allocations: 23.92 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1124, allocations: 23.75 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1127, allocations: 99.75 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1127, allocations: 0 / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1127, allocations: 4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1127, allocations: 0 / 0.4916 GB, free: 8.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005314/0.1132, allocations: 383.2 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1133, allocations: 11.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.1133, allocations: 12.84 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1136, allocations: 184.3 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1136, allocations: 12.31 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1136, allocations: 4.312 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1139, allocations: 75.52 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1139, allocations: 0 / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1139, allocations: 3.984 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1139, allocations: 4 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1141, allocations: 39.97 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1145, allocations: 312.6 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1147, allocations: 42.56 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.1147, allocations: 24.94 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1148, allocations: 8 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1148, allocations: 34.55 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1148, allocations: 0 / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007909/0.1156, allocations: 213.3 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1157, allocations: 85.09 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1158, allocations: 137.7 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1159, allocations: 25.7 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.1159, allocations: 96.05 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.116, allocations: 23.7 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.116, allocations: 17.72 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1161, allocations: 322.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1163, allocations: 39.97 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1164, allocations: 57.69 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1166, allocations: 89.03 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1166, allocations: 4.031 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.1169, allocations: 121.5 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.117, allocations: 8 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.117, allocations: 0 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.117, allocations: 288 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1171, allocations: 23.92 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1171, allocations: 0 / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.1172, allocations: 23.86 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.1172, allocations: 4 kB / 0.494 GB, free: 5.969 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 (7): * Single equations (assignments): 7 * 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.78e-05/0.1173, allocations: 121.8 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1174, allocations: 11.89 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.1177, allocations: 134 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1178, allocations: 3.938 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1178, allocations: 7.984 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.1178, allocations: 3.938 kB / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.1184, allocations: 406.4 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1184, allocations: 0 / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.1185, allocations: 15.98 kB / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1185, allocations: 4 kB / 0.4946 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1185, allocations: 7.938 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1185, allocations: 0 / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1185, allocations: 0 / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.1188, allocations: 223.3 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.1189, allocations: 81.02 kB / 0.4949 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1189, allocations: 7.938 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.119, allocations: 15.98 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1191, allocations: 7.984 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1191, allocations: 0 / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.1192, allocations: 103.3 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1192, allocations: 0 / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1195, allocations: 31.98 kB / 0.4951 GB, free: 4.695 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 (7): * Single equations (assignments): 7 * 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.001002/0.1205, allocations: 445.2 kB / 0.4955 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1208, allocations: 95.84 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1208, allocations: 0 / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.121, allocations: 55.95 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1214, allocations: 15.86 kB / 0.4957 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.1218, allocations: 212.1 kB / 0.4959 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1221, allocations: 0.6963 MB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.1222, allocations: 19.42 kB / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1222, allocations: 0 / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of Templates: time 0.004032/0.1262, allocations: 1.797 MB / 0.4983 GB, free: 1.352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches