Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 120.8 kB / 17.09 MB, free: 5.984 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.001169/0.001169, allocations: 186.4 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.532/1.532, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2248/0.2248, allocations: 43.52 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.00146/0.00146, allocations: 69.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09895, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002894/0.1019, allocations: 1.609 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.1025, allocations: 311.6 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.1026, allocations: 0 / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1028, allocations: 59.73 kB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.103, allocations: 55.75 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1033, allocations: 111.7 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1035, allocations: 63.83 kB / 0.4907 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.1036, allocations: 20.17 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.1036, allocations: 27.92 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.1037, allocations: 43.81 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1037, allocations: 4 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.1038, allocations: 31.94 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.1039, allocations: 19.92 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1039, allocations: 27.8 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1041, allocations: 83.72 kB / 0.491 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1041, allocations: 3.984 kB / 0.491 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1041, allocations: 4 kB / 0.491 GB, free: 9.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1041, allocations: 0 / 0.491 GB, free: 9.309 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.0004446/0.1046, allocations: 391.1 kB / 0.4913 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1046, allocations: 15.83 kB / 0.4913 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1047, allocations: 8.844 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1048, allocations: 191.6 kB / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1049, allocations: 4.375 kB / 0.4915 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1049, allocations: 4.375 kB / 0.4915 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.105, allocations: 65.59 kB / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1051, allocations: 0 / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1051, allocations: 4 kB / 0.4916 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1051, allocations: 0 / 0.4916 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1052, allocations: 31.97 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1055, allocations: 288.7 kB / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1057, allocations: 50.55 kB / 0.492 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1057, allocations: 20.94 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1058, allocations: 0 / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1058, allocations: 34.56 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1058, allocations: 0 / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007002/0.1065, allocations: 213.4 kB / 0.4922 GB, free: 7.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1066, allocations: 55.41 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1067, allocations: 173.7 kB / 0.4924 GB, free: 7.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1067, allocations: 25.7 kB / 0.4925 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1068, allocations: 104.1 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1068, allocations: 23.64 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1069, allocations: 25.66 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.107, allocations: 318.8 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1071, allocations: 31.97 kB / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.1072, allocations: 35.97 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1074, allocations: 72.75 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1074, allocations: 0 / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002779/0.1077, allocations: 113.5 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1077, allocations: 4 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1077, allocations: 0 / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1077, allocations: 3.938 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1079, allocations: 27.98 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1079, allocations: 0 / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.108, allocations: 11.92 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.108, allocations: 4 kB / 0.4932 GB, free: 6.781 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.0001219/0.1081, allocations: 121.8 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1081, allocations: 11.89 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.1085, allocations: 130.3 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1085, allocations: 0 / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1085, allocations: 4 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1085, allocations: 3.938 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1091, allocations: 382.5 kB / 0.4938 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1091, allocations: 0 / 0.4938 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.1092, allocations: 23.98 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1092, allocations: 0 / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1092, allocations: 3.938 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1092, allocations: 3.938 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1092, allocations: 0 / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.1095, allocations: 215.8 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1095, allocations: 77.11 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1096, allocations: 7.938 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.1097, allocations: 7.984 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1097, allocations: 7.984 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1097, allocations: 7.938 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.1098, allocations: 130.7 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1098, allocations: 0 / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1101, allocations: 15.91 kB / 0.4943 GB, free: 5.543 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.0008426/0.1109, allocations: 412.9 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1112, allocations: 83.86 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1112, allocations: 0 / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1113, allocations: 43.95 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1116, allocations: 23.84 kB / 0.4949 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.112, allocations: 235.5 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1123, allocations: 0.6963 MB / 0.4958 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.1124, allocations: 15.44 kB / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1124, allocations: 0 / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Templates: time 0.003196/0.1156, allocations: 1.556 MB / 0.4973 GB, free: 2.469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches