Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001259/0.001259, allocations: 109 kB / 16.41 MB, free: 6.5 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.001244/0.001244, 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.377/1.377, 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.2527/0.2527, allocations: 43.52 MB / 314.1 MB, free: 456 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.00213/0.00213, allocations: 77.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1342, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002997/0.1373, allocations: 1.538 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.1379, allocations: 327.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.138, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.1382, allocations: 19.86 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1384, allocations: 39.78 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1387, allocations: 71.84 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1389, allocations: 55.78 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.139, allocations: 15.98 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.1391, allocations: 27.84 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.1392, allocations: 15.92 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1392, allocations: 4 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1393, allocations: 31.98 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1393, allocations: 11.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1394, allocations: 19.88 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1396, allocations: 79.55 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1396, allocations: 4 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1396, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1397, allocations: 0 / 0.4896 GB, free: 10 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.0006731/0.1403, allocations: 371.1 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1404, allocations: 11.89 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.1404, allocations: 30.75 kB / 0.49 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1405, allocations: 8.891 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1408, allocations: 192.2 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1408, allocations: 384 / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1409, allocations: 4.375 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1411, allocations: 61.55 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1411, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1411, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1411, allocations: 4 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1412, allocations: 23.97 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1417, allocations: 268.9 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1419, allocations: 46.5 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.142, allocations: 16.94 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.142, allocations: 0 / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1421, allocations: 34.56 kB / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1421, allocations: 0 / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006047/0.1427, allocations: 145.4 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1427, allocations: 51.41 kB / 0.4908 GB, free: 8.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1429, allocations: 142.1 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1429, allocations: 25.7 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.143, allocations: 96.08 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.143, allocations: 15.86 kB / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1431, allocations: 21.7 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1432, allocations: 318.8 kB / 0.4914 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.1433, allocations: 23.98 kB / 0.4914 GB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.1434, allocations: 15.98 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1435, allocations: 44.83 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1435, allocations: 3.938 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001827/0.1437, allocations: 81.81 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1438, allocations: 4 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1438, allocations: 4 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1438, allocations: 4 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.1439, allocations: 15.98 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1439, allocations: 0 / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.1439, allocations: 7.984 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1439, allocations: 7.938 kB / 0.4916 GB, free: 7.707 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.0001023/0.144, allocations: 121.7 kB / 0.4917 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1441, allocations: 7.953 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1443, allocations: 93.91 kB / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1443, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1443, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1443, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.1449, allocations: 342.5 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1449, allocations: 0 / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.145, allocations: 15.98 kB / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.145, allocations: 0 / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.145, allocations: 8 kB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.145, allocations: 3.938 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.145, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1452, allocations: 175.5 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1453, allocations: 81.06 kB / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1453, allocations: 4 kB / 0.4924 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.1454, allocations: 8.125 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.1455, allocations: 11.98 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1455, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.667e-05/0.1456, allocations: 111.2 kB / 0.4926 GB, free: 6.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1456, allocations: 3.938 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1458, allocations: 19.98 kB / 0.4926 GB, free: 6.609 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.001924/0.1477, allocations: 1.008 MB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.148, allocations: 43.91 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.148, allocations: 4 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1481, allocations: 28.11 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1486, allocations: 19.92 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1504, allocations: 1.401 MB / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1508, allocations: 0.6885 MB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.1509, allocations: 15.94 kB / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.1509, allocations: 27.36 kB / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1509, allocations: 0 / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1763, allocations: 2.439 MB / 0.4981 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.001, allocations: 15.83 kB / 0.4981 GB, free: 0.8203 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches