Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001159/0.001159, allocations: 110.5 kB / 16.41 MB, free: 6.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.001228/0.001228, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.61/1.61, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2465/0.2465, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001878/0.001879, allocations: 67.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1328, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003807/0.1367, allocations: 1.55 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007519/0.1375, allocations: 327.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.1376, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1379, allocations: 71.77 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.1382, allocations: 67.73 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1385, allocations: 79.78 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1388, allocations: 67.81 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1389, allocations: 15.98 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.139, allocations: 35.83 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1391, allocations: 43.91 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1391, allocations: 4 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1392, allocations: 31.97 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1393, allocations: 19.92 kB / 0.4897 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1394, allocations: 23.75 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1396, allocations: 99.53 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.1396, allocations: 4 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1396, allocations: 0 / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1396, allocations: 0 / 0.4898 GB, free: 9.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007436/0.1404, allocations: 398.9 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.1405, allocations: 11.89 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.1405, allocations: 30.75 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.1406, allocations: 12.84 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1409, allocations: 196.2 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.141, allocations: 4.375 kB / 0.4904 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.141, allocations: 8.375 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1412, allocations: 49.56 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1413, allocations: 0 / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1413, allocations: 0 / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1413, allocations: 4 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1414, allocations: 23.97 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1419, allocations: 284.8 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1422, allocations: 46.44 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1422, allocations: 16.94 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1423, allocations: 0 / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1423, allocations: 34.56 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1423, allocations: 0 / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000728/0.143, allocations: 145.6 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1431, allocations: 55.41 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1433, allocations: 198.2 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1434, allocations: 29.7 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.1434, allocations: 104.1 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1435, allocations: 19.83 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1435, allocations: 25.66 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1437, allocations: 322.8 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.1438, allocations: 19.98 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.1438, allocations: 24.05 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.144, allocations: 40.83 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.144, allocations: 4 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.1442, allocations: 85.56 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1442, allocations: 8 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1442, allocations: 48 / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1442, allocations: 3.984 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.1443, allocations: 11.98 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1443, allocations: 4 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.1444, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1444, allocations: 11.92 kB / 0.4919 GB, free: 7.438 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 (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.0001113/0.1445, allocations: 125.8 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1446, allocations: 11.91 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.1448, allocations: 93.91 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1448, allocations: 4 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.1449, allocations: 3.984 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1449, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.1453, allocations: 350.8 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1454, allocations: 0 / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.1454, allocations: 19.92 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1454, allocations: 0 / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1454, allocations: 7.938 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.1455, allocations: 3.938 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1455, allocations: 0 / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1457, allocations: 179.5 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.1458, allocations: 89.02 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1458, allocations: 0 / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1459, allocations: 7.938 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.1459, allocations: 7.984 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.146, allocations: 4 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1461, allocations: 164 kB / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1461, allocations: 0 / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1464, allocations: 8 kB / 0.4929 GB, free: 6.27 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 (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.001394/0.1478, allocations: 1.007 MB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.148, allocations: 43.95 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.148, allocations: 4 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.1481, allocations: 27.92 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1485, allocations: 23.88 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1505, allocations: 1.554 MB / 0.4955 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.1509, allocations: 0.7041 MB / 0.4962 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.151, allocations: 12.06 kB / 0.4962 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.1511, allocations: 27.42 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1511, allocations: 0 / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1733, allocations: 2.73 MB / 0.4989 GB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.297, allocations: 4.062 kB / 0.4989 GB, free: 20 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches