Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_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.001481/0.00148, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001425/0.001425, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.547/1.547, 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.2416/0.2416, 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.002073/0.002073, allocations: 65.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1325, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003272/0.1358, allocations: 1.558 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1373, allocations: 0.9417 MB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1374, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1377, allocations: 23.86 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1379, allocations: 39.78 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1382, allocations: 71.84 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1384, allocations: 67.77 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1385, allocations: 15.97 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.1386, allocations: 19.92 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1388, allocations: 27.84 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1388, allocations: 4 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1389, allocations: 43.98 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.139, allocations: 15.92 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.139, allocations: 19.88 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1393, allocations: 91.64 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1393, allocations: 0 / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1393, allocations: 0 / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1393, allocations: 0 / 0.4903 GB, free: 9.328 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.0006118/0.1399, allocations: 383 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.14, allocations: 11.89 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.14, allocations: 34.75 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1401, allocations: 4.891 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1403, allocations: 192.2 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1403, allocations: 8.375 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1404, allocations: 384 / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1405, allocations: 63.34 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1406, allocations: 0 / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1406, allocations: 0 / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1406, allocations: 4 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.1407, allocations: 23.97 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1411, allocations: 280.8 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1413, allocations: 38.66 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.1414, allocations: 24.84 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1414, allocations: 0 / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1415, allocations: 30.56 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1415, allocations: 0 / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005655/0.142, allocations: 137.5 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1421, allocations: 77.11 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1423, allocations: 133.8 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1423, allocations: 25.7 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.1424, allocations: 92.12 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1424, allocations: 23.73 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1424, allocations: 25.66 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1426, allocations: 326.8 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1427, allocations: 19.92 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.1428, allocations: 33.77 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1429, allocations: 44.83 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1429, allocations: 4.031 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1431, allocations: 81.62 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1432, allocations: 4 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1432, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1432, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.1433, allocations: 19.92 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1433, allocations: 0 / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1433, allocations: 4 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1434, allocations: 11.92 kB / 0.4923 GB, free: 6.957 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.000112/0.1435, allocations: 117.8 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1435, allocations: 7.953 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1438, allocations: 81.62 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1438, allocations: 4.281 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1438, allocations: 0 / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1438, allocations: 3.984 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.1443, allocations: 350.4 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1443, allocations: 320 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.1444, allocations: 16 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1444, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1444, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1444, allocations: 3.938 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1444, allocations: 3.984 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1447, allocations: 179.4 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.1447, allocations: 81.11 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1448, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.1449, allocations: 11.92 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1449, allocations: 4 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1449, allocations: 4 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.145, allocations: 103.2 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.145, allocations: 0 / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1453, allocations: 31.88 kB / 0.4933 GB, free: 5.863 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.002283/0.1476, allocations: 1.05 MB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1479, allocations: 43.97 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1479, allocations: 0 / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.148, allocations: 23.98 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1483, allocations: 23.83 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1503, allocations: 1.385 MB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.1507, allocations: 0.6846 MB / 0.4964 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.1508, allocations: 8.375 kB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1508, allocations: 23.42 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1508, allocations: 0 / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.1807, allocations: 2.74 MB / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.913, allocations: 11.97 kB / 0.4992 GB, free: 15.72 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches