Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.00144/0.001441, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.5/1.5, allocations: 223.3 MB / 242.9 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1842/0.1842, allocations: 44.26 MB / 338.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002231/0.113, allocations: 1.337 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.114, allocations: 0.6605 MB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.1141, allocations: 0 / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1144, allocations: 31.89 kB / 474.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1146, allocations: 31.91 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.1146, allocations: 0 / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1148, allocations: 55.81 kB / 475 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1148, allocations: 8 kB / 475 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.1148, allocations: 11.92 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.1149, allocations: 15.92 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1149, allocations: 0 / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.115, allocations: 15.92 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1151, allocations: 12 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1151, allocations: 49.5 kB / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1153, allocations: 48.2 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1153, allocations: 0 / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1153, allocations: 0 / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1153, allocations: 4 kB / 475.2 MB, free: 11 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003878/0.1157, allocations: 363.3 kB / 475.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1157, allocations: 8.031 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1158, allocations: 8.844 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1159, allocations: 172.2 kB / 475.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1159, allocations: 384 / 475.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.116, allocations: 8.312 kB / 475.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1162, allocations: 129.9 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1162, allocations: 192 / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1162, allocations: 3.938 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.1163, allocations: 27.92 kB / 475.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.1163, allocations: 43.91 kB / 475.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.117, allocations: 0.8906 MB / 476.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.1171, allocations: 165.1 kB / 477 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.1171, allocations: 84.14 kB / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1172, allocations: 79.22 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1172, allocations: 113.9 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1172, allocations: 0 / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.1173, allocations: 33.61 kB / 477.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1174, allocations: 130.7 kB / 477.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1176, allocations: 186.1 kB / 477.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1176, allocations: 25.7 kB / 477.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.1177, allocations: 151.1 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.1177, allocations: 0 / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1178, allocations: 21.7 kB / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1179, allocations: 322.8 kB / 478.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.118, allocations: 35.97 kB / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1181, allocations: 153.1 kB / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1183, allocations: 200.9 kB / 478.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1183, allocations: 4 kB / 478.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003074/0.1186, allocations: 201.1 kB / 478.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1187, allocations: 4 kB / 478.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1187, allocations: 8 kB / 478.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1187, allocations: 4 kB / 478.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1188, allocations: 35.92 kB / 478.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1188, allocations: 11.98 kB / 478.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.1189, allocations: 28.22 kB / 478.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.119, allocations: 19.88 kB / 478.8 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001368/0.1191, allocations: 217.9 kB / 479 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1192, allocations: 116.8 kB / 479.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.1192, allocations: 108.9 kB / 479.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.792e-05/0.1193, allocations: 188.2 kB / 479.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/0.1194, allocations: 180.3 kB / 479.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.754e-05/0.1194, allocations: 184.3 kB / 479.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.1197, allocations: 429.1 kB / 480.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.625e-05/0.1197, allocations: 104.9 kB / 480.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1198, allocations: 104.9 kB / 480.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.589e-05/0.1198, allocations: 176.3 kB / 480.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.1199, allocations: 188.2 kB / 480.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.12, allocations: 180.2 kB / 480.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.655e-05/0.1201, allocations: 180.2 kB / 481.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1202, allocations: 311.7 kB / 481.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.1203, allocations: 197.9 kB / 481.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.1204, allocations: 184.3 kB / 481.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1205, allocations: 101 kB / 481.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.1206, allocations: 180.2 kB / 482.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.1206, allocations: 105 kB / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1207, allocations: 135.2 kB / 482.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1207, allocations: 4 kB / 482.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.121, allocations: 16 kB / 482.3 MB, free: 3.262 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 (0): * Single equations (assignments): 0 * 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.0005153/0.1216, allocations: 266.7 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1217, allocations: 76.72 kB / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.1217, allocations: 320 / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.1218, allocations: 7.938 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1221, allocations: 0.5379 MB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.1225, allocations: 292.5 kB / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1228, allocations: 0.7009 MB / 484.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.1229, allocations: 15.44 kB / 484.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1229, allocations: 0 / 484.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Templates: time 0.002958/0.1258, allocations: 1.264 MB / 485.5 MB, free: 92 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches