Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",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.001654/0.001654, allocations: 104.3 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.002074/0.002074, allocations: 192.2 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.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2262/0.2262, 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.001434/0.001435, allocations: 65.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1242, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003196/0.1274, allocations: 1.584 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.1281, allocations: 311.6 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1282, allocations: 0 / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.1288, allocations: 447.2 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1292, allocations: 259.4 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1295, allocations: 103.8 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.1298, allocations: 155.7 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1299, allocations: 15.98 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.13, allocations: 103.8 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1303, allocations: 215.6 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1303, allocations: 4 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.1304, allocations: 19.98 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1305, allocations: 87.67 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.1306, allocations: 91.06 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.131, allocations: 254.6 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.131, allocations: 3.938 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.131, allocations: 0 / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.131, allocations: 0 / 0.4909 GB, free: 8.645 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.0008435/0.1318, allocations: 0.6491 MB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1319, allocations: 15.88 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.132, allocations: 30.75 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.132, allocations: 44.66 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1324, allocations: 300.6 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1324, allocations: 384 / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1324, allocations: 8.375 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1326, allocations: 53.61 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1326, allocations: 4 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1327, allocations: 0 / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1327, allocations: 0 / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1328, allocations: 31.92 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.1334, allocations: 376.8 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1335, allocations: 42.56 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.1336, allocations: 20.94 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1336, allocations: 4 kB / 0.4925 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1337, allocations: 38.55 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.1337, allocations: 3.938 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003517/0.134, allocations: 117.4 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1341, allocations: 55.41 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.135, allocations: 0.8574 MB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.135, allocations: 25.7 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.1352, allocations: 212 kB / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1353, allocations: 7.953 kB / 0.4937 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1353, allocations: 13.72 kB / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.1356, allocations: 366.7 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.1356, allocations: 11.98 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1357, allocations: 23.98 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1358, allocations: 40.66 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1358, allocations: 0 / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.136, allocations: 109.7 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1361, allocations: 8 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1361, allocations: 0 / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1361, allocations: 48 / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.1362, allocations: 15.98 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1362, allocations: 0 / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.1363, allocations: 11.94 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1363, allocations: 4 kB / 0.4943 GB, free: 4.938 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 (3): * Single equations (assignments): 3 * 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.000194/0.1365, allocations: 213.7 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.1366, allocations: 39.72 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1368, allocations: 132.9 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1368, allocations: 0 / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1369, allocations: 0 / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1369, allocations: 0 / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1372, allocations: 289.5 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1372, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1372, allocations: 7.984 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1373, allocations: 4 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1373, allocations: 4 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1373, allocations: 0 / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1373, allocations: 0 / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1376, allocations: 207.1 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.1376, allocations: 116.8 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1377, allocations: 0 / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.1378, allocations: 4 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1378, allocations: 3.984 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1378, allocations: 0 / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006551/0.1385, allocations: 0.6511 MB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1385, allocations: 0 / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1388, allocations: 23.94 kB / 0.496 GB, free: 3.16 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 (3): * Single equations (assignments): 3 * 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.001492/0.1403, allocations: 0.9917 MB / 0.4969 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1405, allocations: 35.95 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1405, allocations: 0 / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.1406, allocations: 23.98 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.141, allocations: 29.89 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.1448, allocations: 3.139 MB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.1453, allocations: 0.8182 MB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.1453, allocations: 8.062 kB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.1455, allocations: 111.4 kB / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1456, allocations: 4 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.1759, allocations: 5.75 MB / 0.5066 GB, free: 8.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.374, allocations: 11.88 kB / 0.5066 GB, free: 8.117 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches