Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 117.8 kB / 17.09 MB, free: 5.957 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.001039/0.001039, allocations: 198.4 kB / 18.01 MB, free: 5.047 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.345/1.345, 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.1963/0.1963, allocations: 43.51 MB / 314.8 MB, free: 464 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.001416/0.001416, allocations: 77.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09709, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002657/0.09978, allocations: 1.605 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005845/0.1004, allocations: 335.5 kB / 0.4904 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.1004, allocations: 7.938 kB / 0.4905 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.101, allocations: 447.2 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1013, allocations: 251.5 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1016, allocations: 115.7 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1018, allocations: 159.7 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.1019, allocations: 16.19 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.102, allocations: 111.7 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1022, allocations: 211.6 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1023, allocations: 4 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.1023, allocations: 35.97 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1024, allocations: 79.69 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.1025, allocations: 99 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1028, allocations: 262.9 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1028, allocations: 0 / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1028, allocations: 0 / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1028, allocations: 0 / 0.4922 GB, free: 8.066 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.0006606/0.1035, allocations: 0.6336 MB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1036, allocations: 11.89 kB / 0.4928 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.1036, allocations: 44.38 kB / 0.4928 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1039, allocations: 292.2 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1039, allocations: 384 / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1039, allocations: 12.38 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1041, allocations: 57.56 kB / 0.4932 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1041, allocations: 7.922 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1041, allocations: 4 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1041, allocations: 0 / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1043, allocations: 31.97 kB / 0.4932 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1047, allocations: 384.7 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1048, allocations: 50.5 kB / 0.4936 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.1049, allocations: 20.94 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1049, allocations: 4 kB / 0.4937 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.105, allocations: 30.56 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.105, allocations: 4 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007724/0.1057, allocations: 284.2 kB / 0.494 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1058, allocations: 51.41 kB / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.1066, allocations: 0.8534 MB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1066, allocations: 29.7 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1067, allocations: 216.1 kB / 0.4951 GB, free: 4.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1068, allocations: 23.56 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1068, allocations: 21.7 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1069, allocations: 362.8 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1071, allocations: 31.97 kB / 0.4955 GB, free: 4.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1072, allocations: 47.97 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1074, allocations: 76.75 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1074, allocations: 0 / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002781/0.1077, allocations: 137.2 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1077, allocations: 8 kB / 0.4958 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1077, allocations: 4 kB / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1078, allocations: 3.984 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1079, allocations: 19.98 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1079, allocations: 0 / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.108, allocations: 11.92 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.108, allocations: 4 kB / 0.4958 GB, free: 4.102 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.0001788/0.1082, allocations: 221.6 kB / 0.496 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1082, allocations: 39.44 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1086, allocations: 169.4 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1086, allocations: 0 / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1086, allocations: 0 / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1086, allocations: 3.938 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.1092, allocations: 0.4905 MB / 0.4967 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1092, allocations: 0 / 0.4967 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.1093, allocations: 23.97 kB / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1093, allocations: 0 / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1094, allocations: 3.938 kB / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1094, allocations: 0 / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1094, allocations: 0 / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1097, allocations: 242.9 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.1098, allocations: 108.6 kB / 0.4971 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1098, allocations: 3.938 kB / 0.4971 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1099, allocations: 11.98 kB / 0.4971 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1099, allocations: 7.984 kB / 0.4971 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.11, allocations: 4 kB / 0.4971 GB, free: 2.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005647/0.1105, allocations: 0.6433 MB / 0.4977 GB, free: 2.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1105, allocations: 4 kB / 0.4977 GB, free: 2.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1108, allocations: 24 kB / 0.4977 GB, free: 2.008 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.0008878/0.1117, allocations: 413.1 kB / 0.4981 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.112, allocations: 79.91 kB / 0.4982 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.112, allocations: 3.938 kB / 0.4982 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1121, allocations: 47.97 kB / 0.4983 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1125, allocations: 29.81 kB / 0.4983 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1135, allocations: 0.8204 MB / 0.4991 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1139, allocations: 0.8182 MB / 0.4999 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.114, allocations: 15.44 kB / 0.4999 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.114, allocations: 0 / 0.4999 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.006493/0.1205, allocations: 3.824 MB / 0.5036 GB, free: 11.94 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches