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.001432/0.001432, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001598/0.001597, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.404/1.404, allocations: 222.9 MB / 243 MB, free: 15.15 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.2088/0.2088, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.33 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1019, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003381/0.1053, allocations: 1.964 MB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.107, allocations: 0.9664 MB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1072, allocations: 7.938 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.1077, allocations: 259.2 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1081, allocations: 191.3 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1095, allocations: 0.6442 MB / 474.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.1099, allocations: 307.2 kB / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1101, allocations: 88.53 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1103, allocations: 135.5 kB / 475.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1106, allocations: 195.4 kB / 475.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1106, allocations: 8 kB / 475.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1108, allocations: 103.9 kB / 475.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1109, allocations: 95.67 kB / 475.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1111, allocations: 111.1 kB / 475.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1115, allocations: 318.8 kB / 476.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1115, allocations: 3.938 kB / 476.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1115, allocations: 0 / 476.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1115, allocations: 0 / 476.1 MB, free: 8.27 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.0007389/0.1122, allocations: 0.6341 MB / 476.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1123, allocations: 8.031 kB / 476.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1124, allocations: 40.47 kB / 476.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.1127, allocations: 314.2 kB / 477.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1127, allocations: 8.375 kB / 477.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1128, allocations: 8.375 kB / 477.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.113, allocations: 121.8 kB / 477.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.113, allocations: 4 kB / 477.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1131, allocations: 4 kB / 477.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1131, allocations: 4 kB / 477.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1133, allocations: 103.8 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.1139, allocations: 0.4923 MB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1141, allocations: 110.5 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.1142, allocations: 36.84 kB / 477.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1143, allocations: 4 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1143, allocations: 42.5 kB / 478 MB, free: 6.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1143, allocations: 0 / 478 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009226/0.1152, allocations: 432 kB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1153, allocations: 55.41 kB / 478.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.1158, allocations: 0.5249 MB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1158, allocations: 29.7 kB / 479 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1159, allocations: 196.3 kB / 479.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.116, allocations: 63.09 kB / 479.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1161, allocations: 29.72 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1162, allocations: 350.8 kB / 479.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1164, allocations: 67.95 kB / 479.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1165, allocations: 71.95 kB / 479.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.1167, allocations: 152.8 kB / 479.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1168, allocations: 11.88 kB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003605/0.1171, allocations: 227.4 kB / 480.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1172, allocations: 4 kB / 480.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1172, allocations: 0 / 480.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1172, allocations: 0 / 480.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1173, allocations: 39.97 kB / 480.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1173, allocations: 4 kB / 480.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.1174, allocations: 4 kB / 480.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1174, allocations: 4 kB / 480.2 MB, free: 3.898 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.0001537/0.1176, allocations: 185.7 kB / 480.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1177, allocations: 39.53 kB / 480.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.1181, allocations: 269.3 kB / 480.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1182, allocations: 4 kB / 480.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1182, allocations: 4 kB / 480.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1182, allocations: 7.922 kB / 480.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.119, allocations: 0.6582 MB / 481.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.119, allocations: 0 / 481.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1191, allocations: 35.98 kB / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1191, allocations: 0 / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1192, allocations: 0 / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1192, allocations: 4 kB / 481.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1192, allocations: 15.88 kB / 481.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.1196, allocations: 329.4 kB / 481.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1197, allocations: 104.6 kB / 481.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1197, allocations: 4 kB / 481.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.1198, allocations: 4 kB / 481.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1198, allocations: 19.92 kB / 481.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1199, allocations: 11.98 kB / 481.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003781/0.1202, allocations: 391.1 kB / 482.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1203, allocations: 0 / 482.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1206, allocations: 51.98 kB / 482.3 MB, free: 1.684 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.001541/0.1221, allocations: 0.6913 MB / 483 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.1225, allocations: 171.8 kB / 483.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1225, allocations: 0 / 483.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1226, allocations: 91.88 kB / 483.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1232, allocations: 73.7 kB / 483.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.1241, allocations: 0.6863 MB / 484 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1245, allocations: 0.8182 MB / 484.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1246, allocations: 53.91 kB / 484.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.1247, allocations: 27.42 kB / 484.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1247, allocations: 0 / 484.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Templates: time 0.006832/0.1315, allocations: 3.271 MB / 488.2 MB, free: 12.1 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 -s gbode -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