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.001378/0.001378, allocations: 111.9 kB / 17.86 MB, free: 5.504 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.001729/0.001729, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2046/0.2046, allocations: 44.17 MB / 336.8 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.11 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.81 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004085/0.1195, allocations: 1.691 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1207, allocations: 0.6604 MB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1207, allocations: 0 / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.121, allocations: 27.97 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1212, allocations: 39.89 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.843e-06/0.1213, allocations: 0 / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1215, allocations: 51.81 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1215, allocations: 4 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.1215, allocations: 7.938 kB / 471.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.1216, allocations: 27.91 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1217, allocations: 0 / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.1217, allocations: 8 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1218, allocations: 19.92 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.1218, allocations: 23.81 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.122, allocations: 52.2 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.122, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.122, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.122, allocations: 0 / 471.8 MB, free: 12.22 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.0004178/0.1225, allocations: 355.4 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1225, allocations: 12.03 kB / 472.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1226, allocations: 4.844 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1227, allocations: 192.1 kB / 472.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1228, allocations: 4.375 kB / 472.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1228, allocations: 4.375 kB / 472.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.123, allocations: 119.3 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1231, allocations: 192 / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1231, allocations: 3.938 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.1232, allocations: 35.91 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1233, allocations: 47.84 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1241, allocations: 0.8829 MB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1242, allocations: 169.2 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.1242, allocations: 80.14 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.1243, allocations: 79.22 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.1243, allocations: 109.8 kB / 473.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.1243, allocations: 4 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.1245, allocations: 41.55 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.1245, allocations: 126.7 kB / 474 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1248, allocations: 182.1 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1248, allocations: 25.7 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1249, allocations: 147.1 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.1249, allocations: 7.984 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.125, allocations: 45.61 kB / 474.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1252, allocations: 326.8 kB / 474.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.1253, allocations: 27.92 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1254, allocations: 155.6 kB / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1257, allocations: 204.8 kB / 475.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1257, allocations: 4 kB / 475.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004322/0.1262, allocations: 197.1 kB / 475.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1262, allocations: 12.56 kB / 475.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1262, allocations: 8 kB / 475.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1263, allocations: 8 kB / 475.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1265, allocations: 39.92 kB / 475.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1265, allocations: 4 kB / 475.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.1266, allocations: 27.69 kB / 475.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.1267, allocations: 12 kB / 475.4 MB, free: 8.184 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.0001544/0.1268, allocations: 213.9 kB / 475.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.1269, allocations: 112.8 kB / 475.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.127, allocations: 128.8 kB / 475.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.539e-05/0.1271, allocations: 180.3 kB / 476 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.992e-05/0.1272, allocations: 180.2 kB / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-05/0.1273, allocations: 176.3 kB / 476.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.1276, allocations: 421.2 kB / 476.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/0.1277, allocations: 112.9 kB / 476.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1278, allocations: 109 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-05/0.1279, allocations: 180.2 kB / 477.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.1279, allocations: 180.3 kB / 477.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-05/0.128, allocations: 180.2 kB / 477.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.335e-05/0.1281, allocations: 180.3 kB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.1283, allocations: 319.6 kB / 478 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1284, allocations: 189.9 kB / 478.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/0.1285, allocations: 180.2 kB / 478.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1287, allocations: 105 kB / 478.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.1287, allocations: 188.2 kB / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.1288, allocations: 104.9 kB / 478.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1289, allocations: 131.2 kB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.129, allocations: 0 / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000526/0.1295, allocations: 12 kB / 478.9 MB, free: 4.453 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.0006172/0.1301, allocations: 285.1 kB / 479.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1303, allocations: 71.78 kB / 479.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1303, allocations: 0 / 479.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.1303, allocations: 4 kB / 479.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.1309, allocations: 0.5314 MB / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.1314, allocations: 296.6 kB / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1317, allocations: 0.7008 MB / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1318, allocations: 19.42 kB / 480.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1319, allocations: 0 / 480.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003542/0.1354, allocations: 1.271 MB / 482.1 MB, free: 1.273 MB / 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