Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001175/0.001175, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001258/0.001258, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.08 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003418/0.1393, allocations: 1.623 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.1401, allocations: 447.1 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.1402, allocations: 4 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1407, allocations: 455.1 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.1411, allocations: 255.4 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1415, allocations: 174.9 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1418, allocations: 167.7 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1419, allocations: 19.98 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.142, allocations: 103.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1422, allocations: 219.5 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1423, allocations: 4 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.1424, allocations: 32 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.1425, allocations: 87.62 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.1426, allocations: 107 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1429, allocations: 259.2 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1429, allocations: 4 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1429, allocations: 0 / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1429, allocations: 0 / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007517/0.1437, allocations: 0.6492 MB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1437, allocations: 12.03 kB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.1437, allocations: 30.75 kB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1438, allocations: 44.38 kB / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1441, allocations: 300.1 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1441, allocations: 4.375 kB / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1441, allocations: 384 / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1443, allocations: 69.61 kB / 474.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1443, allocations: 0 / 474.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1443, allocations: 3.984 kB / 474.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1443, allocations: 0 / 474.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1445, allocations: 43.89 kB / 474.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.145, allocations: 404.7 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1451, allocations: 50.56 kB / 474.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.1452, allocations: 28.92 kB / 474.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1452, allocations: 0 / 474.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1453, allocations: 34.5 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1453, allocations: 0 / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008425/0.1461, allocations: 307.8 kB / 475.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1462, allocations: 51.41 kB / 475.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.147, allocations: 0.8691 MB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.147, allocations: 29.64 kB / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1472, allocations: 216.1 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1472, allocations: 23.7 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1472, allocations: 21.72 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1474, allocations: 358.8 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1475, allocations: 39.95 kB / 476.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1476, allocations: 36.05 kB / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1478, allocations: 92.94 kB / 476.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1479, allocations: 0 / 476.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003094/0.1482, allocations: 161 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1482, allocations: 4 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1482, allocations: 0 / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1482, allocations: 4 kB / 477.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1484, allocations: 23.98 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1484, allocations: 0 / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.1485, allocations: 19.86 kB / 477.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1485, allocations: 0 / 477.1 MB, free: 6.23 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001843/0.1487, allocations: 209.8 kB / 477.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1487, allocations: 51.42 kB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1491, allocations: 185.3 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1491, allocations: 4 kB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1491, allocations: 0 / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1491, allocations: 3.938 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.1498, allocations: 0.4985 MB / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1498, allocations: 0 / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.1499, allocations: 23.92 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1499, allocations: 0 / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1499, allocations: 11.94 kB / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1499, allocations: 0 / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1499, allocations: 0 / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1503, allocations: 254.9 kB / 478.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.1503, allocations: 112.5 kB / 478.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1504, allocations: 7.922 kB / 478.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.1505, allocations: 8 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.1505, allocations: 7.984 kB / 478.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1505, allocations: 7.938 kB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005684/0.1511, allocations: 0.6511 MB / 479.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1511, allocations: 4 kB / 479.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1514, allocations: 24 kB / 479.2 MB, free: 4.074 MB / 350.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 (7): * Single equations (assignments): 7 * 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.00143/0.1528, allocations: 1.095 MB / 480.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1532, allocations: 91.88 kB / 480.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1532, allocations: 0 / 480.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1533, allocations: 47.95 kB / 480.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1537, allocations: 29.95 kB / 480.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.1574, allocations: 3.391 MB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.1578, allocations: 0.826 MB / 484.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.1579, allocations: 24.95 kB / 484.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.158, allocations: 115.4 kB / 484.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.158, allocations: 0 / 484.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1811, allocations: 6.037 MB / 490.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.75, allocations: 7.281 kB / 490.8 MB, free: 8.516 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches