Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001704/0.001704, allocations: 109.8 kB / 16.4 MB, free: 6.367 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.001775/0.001775, allocations: 198.7 kB / 17.34 MB, free: 5.844 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.546/1.546, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2324/0.2324, allocations: 43.53 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.002041/0.002041, allocations: 73.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1319, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003097/0.1351, allocations: 1.566 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.1358, allocations: 319.6 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.1358, allocations: 7.938 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1361, allocations: 83.75 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1364, allocations: 75.78 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1366, allocations: 87.66 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1368, allocations: 79.8 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1369, allocations: 20.17 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.137, allocations: 35.89 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1371, allocations: 55.81 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1371, allocations: 4 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.1372, allocations: 35.92 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.1373, allocations: 23.92 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.1373, allocations: 27.75 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1376, allocations: 111.5 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1376, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1376, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1376, allocations: 0 / 0.4899 GB, free: 9.762 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006329/0.1382, allocations: 414.8 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1383, allocations: 15.89 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1383, allocations: 34.75 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1384, allocations: 20.83 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1386, allocations: 200.1 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1386, allocations: 384 / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1387, allocations: 8.125 kB / 0.4905 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1388, allocations: 61.66 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1388, allocations: 0 / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1389, allocations: 3.938 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1389, allocations: 0 / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.139, allocations: 39.97 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1394, allocations: 304.7 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1395, allocations: 46.56 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1396, allocations: 24.97 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1396, allocations: 0 / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.1397, allocations: 34.56 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1397, allocations: 3.938 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006565/0.1404, allocations: 185.4 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1404, allocations: 59.34 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1407, allocations: 231.5 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1407, allocations: 33.69 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1408, allocations: 104.1 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1408, allocations: 31.73 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1409, allocations: 17.72 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.141, allocations: 326.8 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.1411, allocations: 27.97 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1412, allocations: 19.98 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1414, allocations: 64.83 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1414, allocations: 3.938 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002159/0.1416, allocations: 109.5 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1416, allocations: 4 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1416, allocations: 0 / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1417, allocations: 0 / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1418, allocations: 19.98 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1418, allocations: 3.938 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1418, allocations: 11.98 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1418, allocations: 0 / 0.4922 GB, free: 7.113 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 (8): * Single equations (assignments): 8 * 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.0001441/0.142, allocations: 133.8 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.142, allocations: 15.91 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1423, allocations: 119.4 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1423, allocations: 4 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1424, allocations: 3.938 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1424, allocations: 4 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.1429, allocations: 386.9 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1429, allocations: 4 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.143, allocations: 19.92 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.143, allocations: 3.938 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.143, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.143, allocations: 4 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.143, allocations: 3.984 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1433, allocations: 207.5 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1434, allocations: 88.98 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1434, allocations: 4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.1435, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1435, allocations: 11.98 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1435, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1437, allocations: 171.2 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1437, allocations: 0 / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1439, allocations: 23.88 kB / 0.4934 GB, free: 5.812 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 (8): * Single equations (assignments): 8 * 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.002031/0.146, allocations: 1.038 MB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1462, allocations: 67.89 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1462, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.1463, allocations: 31.98 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1467, allocations: 19.98 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1488, allocations: 1.679 MB / 0.4961 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1492, allocations: 0.7041 MB / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.113e-05/0.1492, allocations: 16.95 kB / 0.4968 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.1493, allocations: 39.42 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.324e-06/0.1493, allocations: 0 / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.178, allocations: 2.996 MB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.958, allocations: 8.203 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches