Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001078/0.001078, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001245/0.001245, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.428/1.428, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2311/0.2311, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.08 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003162/0.1282, allocations: 1.556 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1297, allocations: 1.016 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.1297, allocations: 0 / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.13, allocations: 31.78 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1302, allocations: 39.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1305, allocations: 87.66 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1306, allocations: 51.89 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1307, allocations: 19.98 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1308, allocations: 19.88 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.131, allocations: 31.83 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.131, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1311, allocations: 47.98 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1312, allocations: 11.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1312, allocations: 27.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1314, allocations: 88.06 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1314, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1314, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1314, allocations: 0 / 472.4 MB, free: 11.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005434/0.132, allocations: 383.2 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.132, allocations: 8.031 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.1321, allocations: 38.73 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1321, allocations: 4.844 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1323, allocations: 187.8 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.1324, allocations: 4.375 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1324, allocations: 4.375 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1326, allocations: 71.27 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1326, allocations: 3.984 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1326, allocations: 3.938 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1326, allocations: 4 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1327, allocations: 19.98 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1331, allocations: 268.9 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1333, allocations: 46.56 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.1334, allocations: 20.88 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1334, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1335, allocations: 30.56 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1335, allocations: 0 / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005846/0.1341, allocations: 149.3 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.1341, allocations: 77.11 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1343, allocations: 137.8 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1343, allocations: 25.7 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.1344, allocations: 92.06 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1344, allocations: 15.81 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1345, allocations: 17.72 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1346, allocations: 322.8 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.1347, allocations: 19.98 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.1348, allocations: 29.7 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1349, allocations: 53.02 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1349, allocations: 0 / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.1351, allocations: 85.55 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1351, allocations: 4 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1351, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1351, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.1352, allocations: 15.98 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1352, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.1353, allocations: 4 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1353, allocations: 7.875 kB / 474.5 MB, free: 8.879 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 (5): * Single equations (assignments): 5 * 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.0001005/0.1354, allocations: 121.8 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1354, allocations: 7.906 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.1357, allocations: 93.55 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1357, allocations: 4 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1357, allocations: 3.938 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1357, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1361, allocations: 346.5 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1361, allocations: 0 / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.1362, allocations: 19.92 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1362, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1362, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1362, allocations: 3.938 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1362, allocations: 0 / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1364, allocations: 183.6 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1365, allocations: 85.02 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1365, allocations: 0 / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1366, allocations: 7.938 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1366, allocations: 3.984 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1367, allocations: 8 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.1367, allocations: 99.27 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1367, allocations: 0 / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.137, allocations: 23.98 kB / 475.5 MB, free: 7.781 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 (5): * Single equations (assignments): 5 * 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.001362/0.1384, allocations: 1.044 MB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1386, allocations: 47.91 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1386, allocations: 0 / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.1387, allocations: 27.97 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1391, allocations: 11.94 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1406, allocations: 1.387 MB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1408, allocations: 0.6846 MB / 478.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.1409, allocations: 16.05 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.141, allocations: 31.36 kB / 478.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.141, allocations: 4 kB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.1618, allocations: 2.658 MB / 481.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.661, allocations: 7.922 kB / 481.4 MB, free: 1.977 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches