Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test21,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009902, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.0009951/0.0009952, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 73.27 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1003, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003186/0.1035, allocations: 1.969 MB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1051, allocations: 0.9589 MB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.1052, allocations: 4 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.1056, allocations: 255.2 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.106, allocations: 191.3 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1073, allocations: 0.6554 MB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1076, allocations: 303.3 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1078, allocations: 80.55 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1079, allocations: 139.5 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1081, allocations: 195.4 kB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.1082, allocations: 15.88 kB / 474.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1084, allocations: 95.97 kB / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1085, allocations: 87.73 kB / 474.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.1086, allocations: 119 kB / 475 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1089, allocations: 319 kB / 475.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1089, allocations: 0 / 475.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.109, allocations: 4 kB / 475.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.109, allocations: 0 / 475.3 MB, free: 8.992 MB / 350.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.0006385/0.1096, allocations: 0.6263 MB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1096, allocations: 8.031 kB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.1097, allocations: 40.47 kB / 476 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.11, allocations: 306.2 kB / 476.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1101, allocations: 8.375 kB / 476.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1101, allocations: 12.38 kB / 476.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1103, allocations: 129.8 kB / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1103, allocations: 0 / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1104, allocations: 4 kB / 476.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1104, allocations: 7.938 kB / 476.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1106, allocations: 95.8 kB / 476.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.1112, allocations: 0.4963 MB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1114, allocations: 106.5 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.1115, allocations: 44.83 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1115, allocations: 7.984 kB / 477.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1115, allocations: 30.78 kB / 477.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1115, allocations: 7.875 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009362/0.1125, allocations: 423.9 kB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1125, allocations: 59.41 kB / 477.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.113, allocations: 0.521 MB / 478.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.113, allocations: 29.7 kB / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1132, allocations: 208.3 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1132, allocations: 55.11 kB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.1133, allocations: 41.7 kB / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1134, allocations: 346.8 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1136, allocations: 63.97 kB / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1137, allocations: 63.95 kB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.114, allocations: 159.2 kB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.114, allocations: 3.938 kB / 479.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003631/0.1143, allocations: 233 kB / 479.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1144, allocations: 5.562 kB / 479.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1144, allocations: 0 / 479.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1144, allocations: 4 kB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1145, allocations: 31.97 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1146, allocations: 4 kB / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.1146, allocations: 8 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1146, allocations: 4 kB / 479.4 MB, free: 4.625 MB / 350.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.0001505/0.1148, allocations: 189.7 kB / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.1149, allocations: 35.53 kB / 479.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.1154, allocations: 273.3 kB / 479.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1154, allocations: 0 / 479.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1154, allocations: 0 / 479.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1154, allocations: 0 / 479.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.1162, allocations: 0.6765 MB / 480.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1162, allocations: 0 / 480.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1163, allocations: 31.92 kB / 480.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1163, allocations: 0 / 480.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1163, allocations: 15.92 kB / 480.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1163, allocations: 4 kB / 480.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1164, allocations: 3.938 kB / 480.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1167, allocations: 326.9 kB / 481 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1168, allocations: 100.7 kB / 481.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1169, allocations: 3.938 kB / 481.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.117, allocations: 11.98 kB / 481.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.117, allocations: 15.92 kB / 481.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.117, allocations: 4 kB / 481.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003521/0.1174, allocations: 399.1 kB / 481.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1174, allocations: 0 / 481.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1177, allocations: 55.92 kB / 481.5 MB, free: 2.398 MB / 350.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.001538/0.1192, allocations: 0.6849 MB / 482.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1196, allocations: 179.7 kB / 482.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1196, allocations: 0 / 482.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1198, allocations: 90.55 kB / 482.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.1203, allocations: 83.33 kB / 482.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.1213, allocations: 0.7035 MB / 483.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1216, allocations: 0.8103 MB / 484.1 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.1217, allocations: 35.42 kB / 484.1 MB, free: 84 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1217, allocations: 0 / 484.1 MB, free: 84 kB / 350.1 MB Notification: Performance of Templates: time 0.006154/0.1279, allocations: 4.541 MB / 488.7 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches