Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 110.9 kB / 17.33 MB, free: 5.984 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.001005/0.001005, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.456/1.456, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2085/0.2085, allocations: 44.19 MB / 336.2 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 64.58 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 60.83 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003825/0.1144, allocations: 2.018 MB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1162, allocations: 0.8379 MB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.1164, allocations: 4 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1169, allocations: 243.4 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.1174, allocations: 175.5 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1184, allocations: 456.8 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.1188, allocations: 279.2 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.119, allocations: 76.55 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1192, allocations: 123.5 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1195, allocations: 207.3 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1195, allocations: 12 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1197, allocations: 91.95 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1198, allocations: 95.67 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.1199, allocations: 103.1 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.1203, allocations: 307.2 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1203, allocations: 0 / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1203, allocations: 0 / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1203, allocations: 0 / 473.7 MB, free: 9.754 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.0007061/0.1211, allocations: 0.6186 MB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1211, allocations: 8.031 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.1212, allocations: 40.47 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1215, allocations: 306.2 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1215, allocations: 8.375 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1216, allocations: 8.375 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1218, allocations: 113.8 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1218, allocations: 3.938 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1218, allocations: 4 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1219, allocations: 12 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.122, allocations: 71.89 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1226, allocations: 472.3 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1229, allocations: 102.4 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.1229, allocations: 32.84 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.123, allocations: 4 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.123, allocations: 34.56 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.123, allocations: 0 / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009101/0.1239, allocations: 372.1 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.124, allocations: 55.41 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.1245, allocations: 0.521 MB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1245, allocations: 29.7 kB / 476.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1247, allocations: 188.4 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.1248, allocations: 59.16 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.1249, allocations: 37.7 kB / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.125, allocations: 342.8 kB / 477.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1251, allocations: 55.97 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1253, allocations: 55.97 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1255, allocations: 119.3 kB / 477.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1255, allocations: 3.938 kB / 477.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003289/0.1258, allocations: 197.1 kB / 477.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1258, allocations: 11.94 kB / 477.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1259, allocations: 4 kB / 477.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1259, allocations: 0 / 477.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.126, allocations: 35.92 kB / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.126, allocations: 0 / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.1261, allocations: 15.92 kB / 477.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1261, allocations: 4 kB / 477.6 MB, free: 5.637 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.0001676/0.1263, allocations: 173.8 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.1264, allocations: 35.53 kB / 477.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1268, allocations: 235.3 kB / 478 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1269, allocations: 4 kB / 478 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1269, allocations: 0 / 478 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1269, allocations: 0 / 478 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.1276, allocations: 0.6113 MB / 478.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1276, allocations: 0 / 478.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1278, allocations: 31.98 kB / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1278, allocations: 0 / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1278, allocations: 7.984 kB / 478.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1278, allocations: 4 kB / 478.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1278, allocations: 3.938 kB / 478.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1282, allocations: 296.8 kB / 479 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1282, allocations: 100.7 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1283, allocations: 3.938 kB / 479.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.1284, allocations: 11.98 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1284, allocations: 15.83 kB / 479.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1284, allocations: 8 kB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.1288, allocations: 387.1 kB / 479.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1288, allocations: 4 kB / 479.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1291, allocations: 47.98 kB / 479.5 MB, free: 3.578 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.001598/0.1307, allocations: 0.6841 MB / 480.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.1311, allocations: 138.5 kB / 480.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.1311, allocations: 7.938 kB / 480.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1313, allocations: 79.89 kB / 480.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.1318, allocations: 83.62 kB / 480.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1329, allocations: 0.7566 MB / 481.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1333, allocations: 0.8022 MB / 482.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1334, allocations: 45.89 kB / 482.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.1335, allocations: 23.44 kB / 482.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1335, allocations: 0 / 482.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Templates: time 0.006971/0.1405, allocations: 3.122 MB / 485.3 MB, free: 14.13 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches