Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001482, allocations: 111.6 kB / 17.08 MB, free: 5.82 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.001757/0.001757, allocations: 198.3 kB / 18.01 MB, free: 4.965 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.34/1.34, 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.194/0.194, allocations: 43.53 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.001506/0.001506, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09831, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003053/0.1014, allocations: 1.601 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.1021, allocations: 327.5 kB / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.1022, allocations: 0 / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.1028, allocations: 447.2 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1031, allocations: 259.4 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1035, allocations: 107.8 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1038, allocations: 163.6 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1039, allocations: 16.19 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.104, allocations: 107.8 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1042, allocations: 207.6 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1043, allocations: 0 / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.1044, allocations: 35.98 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1045, allocations: 87.62 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.1046, allocations: 103 kB / 0.4919 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1049, allocations: 255 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1049, allocations: 0 / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1049, allocations: 0 / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1049, allocations: 0 / 0.4921 GB, free: 8.105 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.0007101/0.1056, allocations: 0.618 MB / 0.4927 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1057, allocations: 15.89 kB / 0.4928 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.1058, allocations: 36.47 kB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.106, allocations: 296.1 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1061, allocations: 8.375 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1061, allocations: 384 / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1062, allocations: 57.61 kB / 0.4931 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1063, allocations: 4 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1063, allocations: 4 kB / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1063, allocations: 0 / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.1064, allocations: 23.98 kB / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.1069, allocations: 388.6 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1071, allocations: 42.56 kB / 0.4936 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1071, allocations: 20.94 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1072, allocations: 3.984 kB / 0.4936 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1072, allocations: 30.56 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1072, allocations: 0 / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006481/0.1079, allocations: 223.9 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1079, allocations: 55.41 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.1087, allocations: 0.8573 MB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1088, allocations: 29.7 kB / 0.4948 GB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1089, allocations: 228 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1089, allocations: 11.75 kB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.109, allocations: 17.72 kB / 0.495 GB, free: 4.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1091, allocations: 362.8 kB / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1092, allocations: 23.92 kB / 0.4954 GB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.1093, allocations: 19.98 kB / 0.4954 GB, free: 4.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1094, allocations: 49.02 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1094, allocations: 4 kB / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002085/0.1096, allocations: 109.1 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1097, allocations: 12 kB / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1097, allocations: 0 / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1097, allocations: 0 / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.1098, allocations: 11.98 kB / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1098, allocations: 7.922 kB / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1098, allocations: 7.938 kB / 0.4956 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1099, allocations: 8 kB / 0.4956 GB, free: 4.324 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.0001609/0.11, allocations: 217.7 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.1101, allocations: 39.53 kB / 0.4958 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1104, allocations: 133 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1104, allocations: 4 kB / 0.496 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1104, allocations: 0 / 0.496 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1104, allocations: 3.938 kB / 0.496 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.111, allocations: 454.4 kB / 0.4964 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.111, allocations: 4 kB / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.111, allocations: 11.98 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.111, allocations: 0 / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1111, allocations: 3.938 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1111, allocations: 4 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1111, allocations: 0 / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1113, allocations: 215.2 kB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1114, allocations: 116.5 kB / 0.4967 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1115, allocations: 3.938 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.1116, allocations: 4 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1116, allocations: 7.984 kB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1116, allocations: 4 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005966/0.1122, allocations: 0.6472 MB / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 0 / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1125, allocations: 20 kB / 0.4974 GB, free: 2.352 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.0009417/0.1134, allocations: 408.2 kB / 0.4978 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1137, allocations: 51.97 kB / 0.4979 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1137, allocations: 3.938 kB / 0.4979 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1137, allocations: 27.97 kB / 0.4979 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1141, allocations: 25.11 kB / 0.4979 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1153, allocations: 0.8124 MB / 0.4987 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.1158, allocations: 0.8182 MB / 0.4995 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1158, allocations: 15.44 kB / 0.4995 GB, free: 180 kB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1158, allocations: 0 / 0.4995 GB, free: 180 kB / 382.1 MB Notification: Performance of Templates: time 0.00827/0.1241, allocations: 3.711 MB / 0.5031 GB, free: 12.46 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches