Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 115.4 kB / 17.08 MB, free: 5.996 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.001005/0.001005, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.278/1.278, 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.198/0.198, 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.001361/0.001361, allocations: 60.33 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 57.8 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003173/0.1048, allocations: 1.547 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1064, allocations: 0.9301 MB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.1065, allocations: 4 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1068, allocations: 27.84 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1071, allocations: 47.7 kB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1074, allocations: 75.78 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1076, allocations: 51.91 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1077, allocations: 15.92 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1078, allocations: 23.91 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.108, allocations: 23.92 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.108, allocations: 7.938 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1082, allocations: 47.97 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1082, allocations: 15.92 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1083, allocations: 19.88 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1085, allocations: 91.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1085, allocations: 0 / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1085, allocations: 0 / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1085, allocations: 0 / 0.4914 GB, free: 8.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005092/0.1091, allocations: 383.1 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1091, allocations: 15.89 kB / 0.4918 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1091, allocations: 4.938 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1094, allocations: 188.2 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1094, allocations: 4.312 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1094, allocations: 4.375 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1096, allocations: 63.53 kB / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1096, allocations: 3.984 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1096, allocations: 0 / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1096, allocations: 4 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1097, allocations: 23.97 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1101, allocations: 272.9 kB / 0.4923 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1104, allocations: 38.66 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1104, allocations: 16.84 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1105, allocations: 8 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1105, allocations: 34.56 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1105, allocations: 0 / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.1111, allocations: 133.3 kB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1111, allocations: 81.11 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1113, allocations: 133.8 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1113, allocations: 25.7 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.1114, allocations: 100 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1114, allocations: 15.8 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1114, allocations: 17.72 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1116, allocations: 322.8 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.1116, allocations: 23.92 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.1117, allocations: 37.64 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1119, allocations: 49.02 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1119, allocations: 3.938 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.112, allocations: 73.58 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1121, allocations: 8 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1121, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1121, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.1122, allocations: 16.02 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1122, allocations: 3.938 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.1122, allocations: 8 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1122, allocations: 7.984 kB / 0.4934 GB, free: 6.523 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 8.788e-05/0.1123, allocations: 125.7 kB / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1124, allocations: 0 / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.1126, allocations: 97.52 kB / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1126, allocations: 0 / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1126, allocations: 0 / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1126, allocations: 0 / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1131, allocations: 350.4 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1131, allocations: 0 / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.1131, allocations: 8 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1131, allocations: 4 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1132, allocations: 192 / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1132, allocations: 11.94 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1132, allocations: 3.984 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1134, allocations: 171.5 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1135, allocations: 81.02 kB / 0.4942 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1135, allocations: 4 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1136, allocations: 7.922 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1136, allocations: 12 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1136, allocations: 0 / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.811e-05/0.1137, allocations: 103.3 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 0 / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.114, allocations: 23.98 kB / 0.4944 GB, free: 5.43 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.001007/0.115, allocations: 456.2 kB / 0.4948 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1152, allocations: 43.97 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1152, allocations: 3.938 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.1153, allocations: 27.92 kB / 0.4949 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1157, allocations: 19.84 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.1161, allocations: 183.1 kB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1164, allocations: 0.6885 MB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.1165, allocations: 11.44 kB / 0.4958 GB, free: 3.992 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1165, allocations: 0 / 0.4958 GB, free: 3.992 MB / 382.1 MB Notification: Performance of Templates: time 0.003742/0.1202, allocations: 1.547 MB / 0.4973 GB, free: 2.449 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches