Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001114/0.001114, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001182/0.001183, allocations: 189 kB / 17.34 MB, free: 5.715 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.6/1.6, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 448 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.001383/0.001383, allocations: 65.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003486/0.1354, allocations: 1.558 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.1362, allocations: 311.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1362, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1366, allocations: 79.75 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1368, allocations: 63.75 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.137, allocations: 75.78 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1372, allocations: 63.83 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1373, allocations: 23.97 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.1374, allocations: 39.83 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1375, allocations: 43.89 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1375, allocations: 4 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.1376, allocations: 27.98 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.1377, allocations: 15.92 kB / 0.4896 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.1377, allocations: 31.75 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1379, allocations: 91.59 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1379, allocations: 3.984 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1379, allocations: 7.938 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1379, allocations: 0 / 0.4898 GB, free: 9.832 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.0005209/0.1385, allocations: 390.9 kB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1385, allocations: 11.89 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.1386, allocations: 38.75 kB / 0.4902 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1386, allocations: 12.84 kB / 0.4902 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1388, allocations: 192.2 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1388, allocations: 4.375 kB / 0.4904 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1389, allocations: 8.359 kB / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.139, allocations: 45.62 kB / 0.4904 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.139, allocations: 7.938 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.139, allocations: 0 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.139, allocations: 0 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.1391, allocations: 19.98 kB / 0.4905 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1395, allocations: 288.8 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1397, allocations: 54.42 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.1397, allocations: 12.86 kB / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1398, allocations: 0 / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1398, allocations: 34.56 kB / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1398, allocations: 0 / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005211/0.1403, allocations: 145.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1404, allocations: 55.39 kB / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1406, allocations: 202.2 kB / 0.4912 GB, free: 8.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1406, allocations: 25.7 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.1407, allocations: 100.1 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1407, allocations: 23.83 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1407, allocations: 21.72 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1409, allocations: 326.8 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.1409, allocations: 11.98 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.141, allocations: 19.98 kB / 0.4917 GB, free: 7.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1411, allocations: 48.83 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1411, allocations: 4.125 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001745/0.1413, allocations: 89.56 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1413, allocations: 4 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1414, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1414, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.1414, allocations: 15.98 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1414, allocations: 0 / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.1415, allocations: 4 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1415, allocations: 3.938 kB / 0.4919 GB, free: 7.422 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.0001005/0.1416, allocations: 133.8 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1417, allocations: 11.91 kB / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1419, allocations: 93.91 kB / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1419, allocations: 0 / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1419, allocations: 0 / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1419, allocations: 0 / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.1423, allocations: 350.5 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1423, allocations: 4 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.1424, allocations: 15.92 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1424, allocations: 4 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1424, allocations: 3.938 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1424, allocations: 3.938 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1424, allocations: 0 / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1426, allocations: 179.7 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1427, allocations: 89.02 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1427, allocations: 7.984 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.1428, allocations: 7.938 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1428, allocations: 288 / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1428, allocations: 4 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1429, allocations: 164 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1432, allocations: 15.98 kB / 0.4929 GB, free: 6.246 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.001252/0.1444, allocations: 1.01 MB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1446, allocations: 43.97 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1446, allocations: 4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.1447, allocations: 27.92 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1451, allocations: 27.8 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1467, allocations: 1.554 MB / 0.4955 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.147, allocations: 0.7001 MB / 0.4962 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.147, allocations: 12.06 kB / 0.4962 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1471, allocations: 35.42 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1471, allocations: 0 / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.1682, allocations: 2.712 MB / 0.4989 GB, free: 12 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.653, allocations: 0 / 0.4989 GB, free: 12 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches