Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.58 MB / 315 MB, free: 8.668 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005671, allocations: 16 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002756/0.1223, allocations: 1.656 MB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1239, allocations: 0.7448 MB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1241, allocations: 0 / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.1247, allocations: 251.4 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.1251, allocations: 183.5 kB / 446.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1264, allocations: 0.5616 MB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.1269, allocations: 283.3 kB / 447.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1271, allocations: 72.69 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.1273, allocations: 127.4 kB / 447.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1276, allocations: 175.4 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1277, allocations: 4 kB / 447.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1278, allocations: 67.95 kB / 447.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1279, allocations: 83.62 kB / 447.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1281, allocations: 136.7 kB / 447.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1285, allocations: 306.8 kB / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1285, allocations: 4 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1285, allocations: 0 / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1285, allocations: 0 / 448.2 MB, free: 7.941 MB / 382.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.0008067/0.1293, allocations: 0.6031 MB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1293, allocations: 8.031 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1294, allocations: 42.73 kB / 448.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.1295, allocations: 44.38 kB / 448.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.1299, allocations: 330.1 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1299, allocations: 16.31 kB / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1299, allocations: 12.38 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.1302, allocations: 129.5 kB / 449.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1302, allocations: 4 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1303, allocations: 3.938 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1303, allocations: 0 / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1305, allocations: 99.92 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.1312, allocations: 0.5042 MB / 449.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1314, allocations: 114.5 kB / 450.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1315, allocations: 52.78 kB / 450.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1315, allocations: 0 / 450.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1315, allocations: 38.44 kB / 450.1 MB, free: 5.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.1315, allocations: 0 / 450.1 MB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009395/0.1325, allocations: 456.2 kB / 450.6 MB, free: 5.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.1326, allocations: 59.41 kB / 450.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.1332, allocations: 0.5448 MB / 451.2 MB, free: 4.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1333, allocations: 29.7 kB / 451.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1334, allocations: 212.3 kB / 451.4 MB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.1335, allocations: 55.19 kB / 451.5 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.1335, allocations: 17.72 kB / 451.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1337, allocations: 358.8 kB / 451.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1339, allocations: 63.97 kB / 451.9 MB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1341, allocations: 71.95 kB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1343, allocations: 179.8 kB / 452.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1343, allocations: 0 / 452.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004391/0.1348, allocations: 233.1 kB / 452.4 MB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1348, allocations: 8 kB / 452.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1348, allocations: 0 / 452.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1348, allocations: 3.984 kB / 452.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.135, allocations: 39.92 kB / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.135, allocations: 0 / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.1351, allocations: 12 kB / 452.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1351, allocations: 7.984 kB / 452.5 MB, free: 3.402 MB / 382.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.0001548/0.1353, allocations: 181.8 kB / 452.6 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.1353, allocations: 39.52 kB / 452.7 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.1358, allocations: 285.4 kB / 453 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1358, allocations: 4 kB / 453 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1358, allocations: 4 kB / 453 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1359, allocations: 7.969 kB / 453 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.1368, allocations: 0.6849 MB / 453.7 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1368, allocations: 4 kB / 453.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1369, allocations: 35.98 kB / 453.7 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1369, allocations: 0 / 453.7 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.137, allocations: 7.984 kB / 453.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.137, allocations: 3.938 kB / 453.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.137, allocations: 0 / 453.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.1374, allocations: 342.8 kB / 454 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1375, allocations: 120.6 kB / 454.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1375, allocations: 4 kB / 454.2 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1376, allocations: 11.94 kB / 454.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.1377, allocations: 15.97 kB / 454.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1377, allocations: 4 kB / 454.2 MB, free: 1.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.1381, allocations: 419.1 kB / 454.6 MB, free: 1.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1381, allocations: 3.938 kB / 454.6 MB, free: 1.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1384, allocations: 52 kB / 454.7 MB, free: 1.102 MB / 382.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.1906/0.329, allocations: 1.472 MB / 456.1 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.3295, allocations: 168.1 kB / 456.3 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3295, allocations: 0 / 456.3 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3297, allocations: 100.4 kB / 456.4 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.3303, allocations: 70.12 kB / 456.5 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3341, allocations: 3.343 MB / 459.8 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3344, allocations: 0.822 MB / 460.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3345, allocations: 58.78 kB / 460.7 MB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3347, allocations: 131.8 kB / 460.8 MB, free: 44.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3347, allocations: 0 / 460.8 MB, free: 44.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.3514, allocations: 6.869 MB / 467.7 MB, free: 43.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.3516, allocations: 236.5 kB / 467.9 MB, free: 43.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.393, allocations: 7.219 kB / 467.9 MB, free: 43.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches