Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 120.4 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.001444/0.001444, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.372/1.372, 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.1835/0.1835, allocations: 43.52 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.001334/0.001334, allocations: 69.47 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.0987, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002795/0.1015, allocations: 1.601 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005678/0.1021, allocations: 323.6 kB / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.1022, allocations: 4 kB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.1027, allocations: 455.1 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.103, allocations: 247.5 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1033, allocations: 111.7 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1036, allocations: 159.7 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.1037, allocations: 16.19 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1038, allocations: 107.8 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.104, allocations: 215.6 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.104, allocations: 4 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.1041, allocations: 31.98 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1042, allocations: 75.7 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.1043, allocations: 107 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1046, allocations: 251 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1046, allocations: 0 / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1046, allocations: 3.938 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1046, allocations: 0 / 0.4921 GB, free: 8.098 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.0006839/0.1053, allocations: 0.6258 MB / 0.4927 GB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.1054, allocations: 11.89 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.1054, allocations: 40.45 kB / 0.4928 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1057, allocations: 296.2 kB / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1057, allocations: 384 / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1058, allocations: 8.375 kB / 0.4931 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1059, allocations: 57.61 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1059, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1059, allocations: 3.984 kB / 0.4931 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1059, allocations: 3.938 kB / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.106, allocations: 23.98 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1065, allocations: 384.6 kB / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1067, allocations: 46.5 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1068, allocations: 20.94 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1068, allocations: 0 / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1068, allocations: 30.56 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1068, allocations: 0 / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005577/0.1074, allocations: 231.9 kB / 0.4939 GB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1074, allocations: 51.41 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.1081, allocations: 0.8573 MB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1082, allocations: 29.7 kB / 0.4948 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1083, allocations: 220 kB / 0.495 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1083, allocations: 11.75 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1084, allocations: 21.7 kB / 0.495 GB, free: 4.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1085, allocations: 366.8 kB / 0.4954 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.1086, allocations: 23.98 kB / 0.4954 GB, free: 4.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.1086, allocations: 15.98 kB / 0.4954 GB, free: 4.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1088, allocations: 48.83 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1088, allocations: 0 / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.109, allocations: 117 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.109, allocations: 8 kB / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.109, allocations: 3.984 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.109, allocations: 0 / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.1091, allocations: 15.98 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1091, allocations: 4 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.1092, allocations: 3.938 kB / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1092, allocations: 4 kB / 0.4956 GB, free: 4.316 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.0001597/0.1093, allocations: 217.7 kB / 0.4958 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.1094, allocations: 39.53 kB / 0.4958 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1096, allocations: 140.9 kB / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1097, allocations: 0 / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1097, allocations: 3.984 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1097, allocations: 3.938 kB / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1101, allocations: 450.8 kB / 0.4964 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1102, allocations: 8 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.1102, allocations: 11.94 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1102, allocations: 0 / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1102, allocations: 7.938 kB / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1102, allocations: 0 / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1103, allocations: 0 / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1105, allocations: 211 kB / 0.4966 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.1106, allocations: 108.5 kB / 0.4967 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1106, allocations: 3.938 kB / 0.4967 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.1107, allocations: 11.98 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1107, allocations: 0 / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1107, allocations: 4 kB / 0.4968 GB, free: 3.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005343/0.1113, allocations: 0.6472 MB / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1113, allocations: 3.938 kB / 0.4974 GB, free: 2.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1115, allocations: 19.98 kB / 0.4974 GB, free: 2.344 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.0008614/0.1124, allocations: 424.5 kB / 0.4978 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1126, allocations: 47.95 kB / 0.4979 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1126, allocations: 0 / 0.4979 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.1127, allocations: 23.98 kB / 0.4979 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.113, allocations: 29.81 kB / 0.4979 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1141, allocations: 0.8085 MB / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1145, allocations: 0.8221 MB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1145, allocations: 15.42 kB / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1145, allocations: 0 / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of Templates: time 0.006669/0.1212, allocations: 3.645 MB / 0.5031 GB, free: 12.51 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches