Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.001477/0.001477, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001325/0.001325, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2213/0.2213, 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.001475/0.001475, allocations: 73.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003977/0.1269, allocations: 1.569 MB / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.1277, allocations: 307.6 kB / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.1279, allocations: 0 / 0.4892 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.1285, allocations: 447.2 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.129, allocations: 255.5 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1293, allocations: 111.7 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1296, allocations: 147.7 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1297, allocations: 16 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1299, allocations: 107.8 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1301, allocations: 203.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1301, allocations: 7.938 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.1302, allocations: 16 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1303, allocations: 87.67 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.1304, allocations: 91.06 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.1307, allocations: 250.7 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1307, allocations: 0 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1307, allocations: 0 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1308, allocations: 0 / 0.4909 GB, free: 8.656 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.0008879/0.1317, allocations: 0.6452 MB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1317, allocations: 11.89 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.1318, allocations: 30.75 kB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.1319, allocations: 48.66 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.1323, allocations: 300.6 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1324, allocations: 384 / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1324, allocations: 4.375 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1326, allocations: 53.56 kB / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1326, allocations: 0 / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1326, allocations: 0 / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1326, allocations: 4 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.1327, allocations: 23.92 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.1332, allocations: 380.8 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.1333, allocations: 26.56 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.1334, allocations: 16.92 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1334, allocations: 0 / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1334, allocations: 34.5 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1335, allocations: 4 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002837/0.1337, allocations: 97.39 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1338, allocations: 51.41 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/0.1347, allocations: 0.8652 MB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1348, allocations: 25.7 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1349, allocations: 216.1 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.135, allocations: 15.89 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.135, allocations: 17.83 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1352, allocations: 362.7 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.1353, allocations: 19.98 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.1353, allocations: 7.938 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.1354, allocations: 24.84 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1354, allocations: 0 / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001674/0.1356, allocations: 93.47 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1356, allocations: 4 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1356, allocations: 0 / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1356, allocations: 0 / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1357, allocations: 7.984 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1357, allocations: 4 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1358, allocations: 0 / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1358, allocations: 0 / 0.4942 GB, free: 5.055 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 (2): * Single equations (assignments): 2 * 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.0002115/0.136, allocations: 217.7 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1361, allocations: 55.67 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1363, allocations: 96.64 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1363, allocations: 0 / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.1363, allocations: 0 / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1363, allocations: 7.938 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1366, allocations: 289.5 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1366, allocations: 3.984 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1367, allocations: 4 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1367, allocations: 0 / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1367, allocations: 4.031 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1367, allocations: 0 / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1367, allocations: 4 kB / 0.4948 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1369, allocations: 191.1 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.137, allocations: 108.8 kB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.137, allocations: 4 kB / 0.4951 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1372, allocations: 12.02 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1372, allocations: 0 / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1372, allocations: 0 / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007387/0.1379, allocations: 0.6511 MB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.138, allocations: 0 / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1382, allocations: 19.92 kB / 0.4958 GB, free: 3.309 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 (2): * Single equations (assignments): 2 * 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.00138/0.1396, allocations: 0.9756 MB / 0.4967 GB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1398, allocations: 27.92 kB / 0.4968 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1398, allocations: 0 / 0.4968 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.1399, allocations: 8 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.1404, allocations: 33.89 kB / 0.4968 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.1445, allocations: 3.122 MB / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.145, allocations: 0.8143 MB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.145, allocations: 15.98 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1452, allocations: 107.4 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1452, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1699, allocations: 5.68 MB / 0.5063 GB, free: 8.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.137, allocations: 12 kB / 0.5063 GB, free: 8.398 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_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_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches