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.001662/0.001662, allocations: 112.8 kB / 16.4 MB, free: 5.902 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.001942/0.001942, allocations: 195.8 kB / 17.33 MB, free: 5.539 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2065/0.2065, allocations: 43.52 MB / 314.1 MB, free: 460 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.001384/0.001384, allocations: 69.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1351, 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.003031/0.1382, allocations: 1.566 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.1389, allocations: 323.6 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1389, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1393, allocations: 87.73 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1395, allocations: 83.72 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1398, allocations: 71.84 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.14, allocations: 83.75 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1401, allocations: 24.16 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1402, allocations: 35.84 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1403, allocations: 55.81 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1403, allocations: 4 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.1404, allocations: 24 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1404, allocations: 27.91 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.1405, allocations: 35.73 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1407, allocations: 107.5 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1407, allocations: 0 / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1407, allocations: 3.938 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1407, allocations: 0 / 0.4899 GB, free: 9.766 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.0005127/0.1412, allocations: 422.7 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1413, allocations: 11.89 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.1413, allocations: 30.75 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1414, allocations: 16.84 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1416, allocations: 196.2 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1416, allocations: 384 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1416, allocations: 12.12 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1418, allocations: 61.59 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1418, allocations: 8 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1418, allocations: 4 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1418, allocations: 3.938 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1419, allocations: 35.95 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1423, allocations: 300.8 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1424, allocations: 54.48 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1425, allocations: 20.98 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1425, allocations: 7.984 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1425, allocations: 30.56 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1425, allocations: 0 / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006042/0.1432, allocations: 181.3 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1432, allocations: 59.48 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1434, allocations: 235.5 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1435, allocations: 25.7 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.1435, allocations: 112.1 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1436, allocations: 31.73 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1436, allocations: 17.72 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1438, allocations: 322.8 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.1438, allocations: 23.98 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.1439, allocations: 27.98 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1441, allocations: 64.77 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1441, allocations: 0 / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001919/0.1443, allocations: 101.5 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1443, allocations: 8 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1443, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1443, allocations: 4 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.1444, allocations: 15.98 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1445, allocations: 7.938 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.1445, allocations: 4 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1445, allocations: 4 kB / 0.4922 GB, free: 7.121 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 9.844e-05/0.1446, allocations: 133.7 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1447, allocations: 11.91 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1449, allocations: 127 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.145, allocations: 3.984 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.145, allocations: 3.938 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.145, allocations: 4.375 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1454, allocations: 398.8 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1454, allocations: 4 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.1455, allocations: 19.98 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1455, allocations: 3.938 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1455, allocations: 4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1455, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1455, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1458, allocations: 199.4 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1458, allocations: 89 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1459, allocations: 4 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.1459, allocations: 11.98 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.146, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.146, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1461, allocations: 171.2 kB / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1461, allocations: 0 / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1464, allocations: 19.94 kB / 0.4934 GB, free: 5.816 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.001438/0.1478, allocations: 1.049 MB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1481, allocations: 55.97 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1481, allocations: 0 / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.1482, allocations: 39.91 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1486, allocations: 19.98 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1505, allocations: 1.675 MB / 0.4961 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1508, allocations: 0.708 MB / 0.4968 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.1509, allocations: 12.97 kB / 0.4968 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.151, allocations: 31.42 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.151, allocations: 4 kB / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.1719, allocations: 3.004 MB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.774, 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