Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 119.2 kB / 17.08 MB, free: 5.969 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.001379/0.001379, allocations: 193.2 kB / 18.01 MB, free: 5.051 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.212/1.212, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1845/0.1845, allocations: 43.52 MB / 314.8 MB, free: 452 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.001452/0.001453, allocations: 70.17 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09547, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003944/0.09945, allocations: 1.97 MB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1008, allocations: 0.7603 MB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.101, allocations: 7.938 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.1014, allocations: 255.2 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.1019, allocations: 195.3 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1031, allocations: 0.6042 MB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.1035, allocations: 291.3 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1037, allocations: 80.67 kB / 0.4926 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1039, allocations: 139.4 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1041, allocations: 199.3 kB / 0.4929 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.1041, allocations: 12 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1043, allocations: 67.97 kB / 0.493 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1045, allocations: 107.7 kB / 0.4931 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.1046, allocations: 111 kB / 0.4932 GB, free: 7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.1049, allocations: 306.8 kB / 0.4935 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1049, allocations: 4 kB / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.105, allocations: 0 / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.105, allocations: 0 / 0.4935 GB, free: 6.695 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006758/0.1057, allocations: 0.6223 MB / 0.4941 GB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1057, allocations: 11.89 kB / 0.4941 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.1058, allocations: 40.38 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1061, allocations: 326.1 kB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1061, allocations: 8.375 kB / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.1061, allocations: 12.38 kB / 0.4945 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1064, allocations: 129.7 kB / 0.4946 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1064, allocations: 4 kB / 0.4946 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1064, allocations: 4 kB / 0.4946 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1064, allocations: 3.938 kB / 0.4946 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1066, allocations: 87.94 kB / 0.4947 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.1072, allocations: 0.4886 MB / 0.4952 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1074, allocations: 110.5 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.1075, allocations: 40.83 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1075, allocations: 4 kB / 0.4953 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1076, allocations: 30.56 kB / 0.4953 GB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1076, allocations: 4 kB / 0.4954 GB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009074/0.1085, allocations: 439.9 kB / 0.4958 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1085, allocations: 51.41 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.109, allocations: 0.5289 MB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1091, allocations: 29.7 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1092, allocations: 196.3 kB / 0.4966 GB, free: 3.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.1092, allocations: 59.2 kB / 0.4966 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1093, allocations: 33.7 kB / 0.4966 GB, free: 3.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1094, allocations: 350.8 kB / 0.497 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1095, allocations: 63.95 kB / 0.497 GB, free: 2.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1097, allocations: 70.61 kB / 0.4971 GB, free: 2.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1099, allocations: 152.7 kB / 0.4973 GB, free: 2.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1099, allocations: 7.938 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000331/0.1102, allocations: 221.9 kB / 0.4975 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1103, allocations: 8 kB / 0.4975 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1103, allocations: 0 / 0.4975 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1103, allocations: 0 / 0.4975 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1104, allocations: 35.92 kB / 0.4975 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1105, allocations: 0 / 0.4975 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1105, allocations: 15.89 kB / 0.4975 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1105, allocations: 7.984 kB / 0.4975 GB, free: 2.32 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 (17): * Single equations (assignments): 17 * 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.0001473/0.1107, allocations: 185.7 kB / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.1108, allocations: 39.47 kB / 0.4977 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1112, allocations: 276.1 kB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1112, allocations: 4 kB / 0.498 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1112, allocations: 3.938 kB / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1113, allocations: 3.984 kB / 0.498 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/0.112, allocations: 0.6661 MB / 0.4987 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.112, allocations: 3.938 kB / 0.4987 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1121, allocations: 31.92 kB / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1121, allocations: 4 kB / 0.4987 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1122, allocations: 4 kB / 0.4987 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1122, allocations: 0 / 0.4987 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1122, allocations: 3.938 kB / 0.4987 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1125, allocations: 326.9 kB / 0.499 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1126, allocations: 108.7 kB / 0.4991 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1126, allocations: 4 kB / 0.4991 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1127, allocations: 8 kB / 0.4991 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1128, allocations: 11.92 kB / 0.4992 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1128, allocations: 4 kB / 0.4992 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003516/0.1132, allocations: 399.1 kB / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1132, allocations: 4 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1135, allocations: 51.91 kB / 0.4996 GB, free: 112 kB / 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 (17): * Single equations (assignments): 17 * 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.001497/0.115, allocations: 0.6899 MB / 0.5003 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1153, allocations: 163.8 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1153, allocations: 0 / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1155, allocations: 95.89 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.116, allocations: 77.3 kB / 0.5006 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/0.117, allocations: 0.703 MB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1173, allocations: 0.8065 MB / 0.5021 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.1174, allocations: 35.42 kB / 0.5021 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1174, allocations: 0 / 0.5021 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.00664/0.1241, allocations: 4.616 MB / 0.5066 GB, free: 8.902 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches