Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 110.7 kB / 17.08 MB, free: 6.016 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.001181/0.001181, allocations: 191.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.502/1.502, 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.2083/0.2083, allocations: 43.53 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.001386/0.001386, allocations: 67.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09958, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002764/0.1024, allocations: 1.612 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005855/0.103, allocations: 343.5 kB / 0.4904 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.1031, allocations: 4 kB / 0.4905 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1033, allocations: 51.81 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1035, allocations: 55.75 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1039, allocations: 147.7 kB / 0.4907 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.104, allocations: 71.77 kB / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1041, allocations: 23.97 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.1042, allocations: 27.91 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.1043, allocations: 39.84 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1043, allocations: 4 kB / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.1044, allocations: 39.97 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1045, allocations: 19.92 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.1045, allocations: 23.81 kB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1047, allocations: 99.64 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1047, allocations: 0 / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1047, allocations: 0 / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1047, allocations: 0 / 0.491 GB, free: 9.238 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.0004478/0.1052, allocations: 391.1 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1052, allocations: 11.89 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1053, allocations: 12.84 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1054, allocations: 199.5 kB / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1054, allocations: 8.375 kB / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1055, allocations: 384 / 0.4916 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1057, allocations: 73.72 kB / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1057, allocations: 0 / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1057, allocations: 0 / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1057, allocations: 3.984 kB / 0.4917 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1058, allocations: 39.97 kB / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1063, allocations: 304.8 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1064, allocations: 54.48 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1065, allocations: 24.94 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1065, allocations: 4 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1065, allocations: 34.56 kB / 0.4921 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1065, allocations: 0 / 0.4921 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007876/0.1073, allocations: 229 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1074, allocations: 55.41 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1075, allocations: 165.8 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1076, allocations: 25.7 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.1076, allocations: 100.1 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1076, allocations: 27.59 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1077, allocations: 21.7 kB / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1078, allocations: 318.8 kB / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1079, allocations: 39.95 kB / 0.4931 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1081, allocations: 39.97 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1083, allocations: 92.8 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1083, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002817/0.1086, allocations: 125.5 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1086, allocations: 4 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1086, allocations: 0 / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1086, allocations: 0 / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1088, allocations: 19.98 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1088, allocations: 3.938 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.1088, allocations: 11.98 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1089, allocations: 4 kB / 0.4934 GB, free: 6.621 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 8.646e-05/0.1089, allocations: 129.7 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.109, allocations: 15.8 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.1093, allocations: 142.3 kB / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1093, allocations: 0 / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1094, allocations: 3.938 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1094, allocations: 3.984 kB / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.1099, allocations: 410.4 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1099, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.11, allocations: 19.98 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.11, allocations: 3.938 kB / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.11, allocations: 0 / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.11, allocations: 480 / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.11, allocations: 4 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1104, allocations: 227.3 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1104, allocations: 88.95 kB / 0.4944 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1104, allocations: 4 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1105, allocations: 11.98 kB / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1106, allocations: 7.984 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1106, allocations: 4 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.1107, allocations: 128 kB / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1107, allocations: 0 / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.111, allocations: 20 kB / 0.4945 GB, free: 5.312 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.0008801/0.1118, allocations: 408.3 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.1122, allocations: 91.88 kB / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1122, allocations: 0 / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1123, allocations: 51.95 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1127, allocations: 27.62 kB / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1131, allocations: 243.5 kB / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1134, allocations: 0.7119 MB / 0.496 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.1134, allocations: 11.44 kB / 0.496 GB, free: 3.762 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1134, allocations: 4 kB / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.003459/0.1169, allocations: 1.653 MB / 0.4976 GB, free: 2.105 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches