Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, 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.001669/0.001669, 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.381/1.381, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.12 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1234, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003544/0.127, allocations: 1.615 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.128, allocations: 0.6841 MB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.128, allocations: 0 / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1283, allocations: 31.83 kB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1286, allocations: 39.84 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.1286, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1288, allocations: 39.83 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.1288, allocations: 4 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.1289, allocations: 7.938 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.129, allocations: 23.84 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.129, allocations: 0 / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.129, allocations: 8 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1291, allocations: 11.98 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.1291, allocations: 23.81 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1293, allocations: 68.02 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1293, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1293, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1293, allocations: 0 / 472.5 MB, free: 11.81 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.00039/0.1297, allocations: 367.3 kB / 472.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1298, allocations: 8.031 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.1298, allocations: 8.844 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.13, allocations: 172.2 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.13, allocations: 12.38 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.13, allocations: 384 / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1302, allocations: 119.4 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1302, allocations: 4.125 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1302, allocations: 15.94 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.1303, allocations: 19.98 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.1304, allocations: 39.92 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.131, allocations: 0.8906 MB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.557e-05/0.1311, allocations: 165.1 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.1311, allocations: 80.14 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1312, allocations: 91.23 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.1312, allocations: 105.8 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1312, allocations: 4 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.486e-05/0.1313, allocations: 37.61 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1314, allocations: 126.7 kB / 474.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1316, allocations: 186.1 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1316, allocations: 25.7 kB / 474.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.1317, allocations: 151.1 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.1317, allocations: 0 / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1318, allocations: 45.61 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1319, allocations: 326.8 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1319, allocations: 35.97 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1321, allocations: 157.1 kB / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1323, allocations: 204.9 kB / 475.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1323, allocations: 4 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003054/0.1326, allocations: 197 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1326, allocations: 4.625 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1326, allocations: 8 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1327, allocations: 8 kB / 476 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1328, allocations: 43.91 kB / 476.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1328, allocations: 11.94 kB / 476.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.1329, allocations: 23.69 kB / 476.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1329, allocations: 8 kB / 476.1 MB, free: 7.77 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.0001139/0.133, allocations: 217.9 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.1331, allocations: 112.8 kB / 476.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.1332, allocations: 116.9 kB / 476.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/0.1332, allocations: 188.2 kB / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.716e-05/0.1333, allocations: 176.3 kB / 476.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/0.1334, allocations: 180.2 kB / 477.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1336, allocations: 421.2 kB / 477.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/0.1336, allocations: 112.9 kB / 477.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.1337, allocations: 104.9 kB / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.1338, allocations: 180.2 kB / 477.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.1338, allocations: 180.2 kB / 478.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-05/0.1339, allocations: 192.2 kB / 478.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-05/0.134, allocations: 176.3 kB / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.1341, allocations: 311.7 kB / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.1342, allocations: 197.9 kB / 478.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.1343, allocations: 180.3 kB / 479.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.1344, allocations: 105 kB / 479.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.1344, allocations: 184.2 kB / 479.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.1345, allocations: 101 kB / 479.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1346, allocations: 139.2 kB / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1346, allocations: 0 / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1349, allocations: 12 kB / 479.6 MB, free: 4.035 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.0004763/0.1354, allocations: 266.3 kB / 479.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1355, allocations: 75.84 kB / 480 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1356, allocations: 4 kB / 480 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.1356, allocations: 3.938 kB / 480 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.136, allocations: 472.2 kB / 480.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.1363, allocations: 274.8 kB / 480.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1366, allocations: 0.6967 MB / 481.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1367, allocations: 15.44 kB / 481.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1367, allocations: 0 / 481.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003089/0.1398, allocations: 1.276 MB / 482.7 MB, free: 0.9531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches