Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 119.5 kB / 17.09 MB, free: 5.992 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.001105/0.001105, allocations: 193.3 kB / 18.01 MB, free: 5.078 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.533/1.533, 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.2078/0.2078, allocations: 43.51 MB / 314.8 MB, free: 460 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.001589/0.001589, allocations: 64.47 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1006, allocations: 57.8 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003109/0.1038, allocations: 1.601 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.1045, allocations: 363.4 kB / 0.4905 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.1046, allocations: 0 / 0.4905 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.1052, allocations: 451.2 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1056, allocations: 259.4 kB / 0.4911 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.106, allocations: 143.7 kB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1063, allocations: 175.6 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1064, allocations: 23.98 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1066, allocations: 111.8 kB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1068, allocations: 211.6 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1069, allocations: 8 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.107, allocations: 35.92 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1071, allocations: 87.67 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.1072, allocations: 103 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1075, allocations: 251 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.1075, allocations: 0 / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1075, allocations: 3.938 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1075, allocations: 0 / 0.4922 GB, free: 7.996 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.0007454/0.1083, allocations: 0.6414 MB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1083, allocations: 19.83 kB / 0.4929 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.1084, allocations: 44.38 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1087, allocations: 292.2 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1087, allocations: 4.375 kB / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1087, allocations: 384 / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1089, allocations: 65.8 kB / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.109, allocations: 0 / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.109, allocations: 0 / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.109, allocations: 0 / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1091, allocations: 47.95 kB / 0.4933 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.1097, allocations: 400.6 kB / 0.4937 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1098, allocations: 46.56 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.1099, allocations: 28.92 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1099, allocations: 4 kB / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.11, allocations: 38.5 kB / 0.4938 GB, free: 6.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.11, allocations: 0 / 0.4938 GB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008111/0.1108, allocations: 299.9 kB / 0.4941 GB, free: 5.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1108, allocations: 55.41 kB / 0.4942 GB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.1116, allocations: 0.8535 MB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1116, allocations: 25.7 kB / 0.495 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1117, allocations: 220 kB / 0.4952 GB, free: 4.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1118, allocations: 19.66 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1118, allocations: 17.8 kB / 0.4953 GB, free: 4.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.112, allocations: 370.7 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1121, allocations: 47.95 kB / 0.4957 GB, free: 4.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1122, allocations: 40.03 kB / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1124, allocations: 88.78 kB / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1124, allocations: 0 / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002893/0.1127, allocations: 153.1 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1128, allocations: 4 kB / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1128, allocations: 0 / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1128, allocations: 3.938 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1129, allocations: 23.98 kB / 0.496 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1129, allocations: 0 / 0.496 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.113, allocations: 15.92 kB / 0.496 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.113, allocations: 4 kB / 0.496 GB, free: 3.934 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 0.00017/0.1132, allocations: 217.7 kB / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.1133, allocations: 39.53 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.1136, allocations: 181.4 kB / 0.4964 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1137, allocations: 4 kB / 0.4964 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1137, allocations: 0 / 0.4964 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1137, allocations: 8.219 kB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.1143, allocations: 0.5023 MB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1143, allocations: 0 / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.1144, allocations: 19.98 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1144, allocations: 0 / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1144, allocations: 7.922 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1145, allocations: 7.938 kB / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1145, allocations: 0 / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1148, allocations: 251 kB / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.1149, allocations: 108.5 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1149, allocations: 7.938 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.115, allocations: 15.98 kB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1151, allocations: 7.984 kB / 0.4973 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1151, allocations: 0 / 0.4973 GB, free: 2.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005483/0.1156, allocations: 0.6511 MB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1157, allocations: 3.938 kB / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1159, allocations: 24 kB / 0.498 GB, free: 1.785 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.0009093/0.1168, allocations: 408.3 kB / 0.4984 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1171, allocations: 99.84 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1172, allocations: 0 / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1173, allocations: 43.97 kB / 0.4985 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1177, allocations: 29.81 kB / 0.4985 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1188, allocations: 0.84 MB / 0.4993 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1192, allocations: 0.8299 MB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.1193, allocations: 11.44 kB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1193, allocations: 3.938 kB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.007477/0.1268, allocations: 3.855 MB / 0.5039 GB, free: 11.65 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches