Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001514/0.001513, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001583/0.001583, allocations: 192 kB / 18.56 MB, free: 4.434 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.43/1.43, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2336/0.2336, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 65.06 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003157/0.1456, allocations: 1.611 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.1464, allocations: 411.2 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.1465, allocations: 7.938 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1468, allocations: 87.73 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1471, allocations: 75.73 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1474, allocations: 91.69 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1475, allocations: 87.81 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1477, allocations: 36.17 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.1478, allocations: 39.91 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1479, allocations: 59.81 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1479, allocations: 4 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.148, allocations: 39.98 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.1481, allocations: 35.84 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.1481, allocations: 31.75 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1484, allocations: 123.5 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1484, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1484, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1484, allocations: 4 kB / 472.1 MB, free: 11.53 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000526/0.1489, allocations: 430.9 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.149, allocations: 8.031 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.149, allocations: 38.75 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1491, allocations: 12.75 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1493, allocations: 208 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1493, allocations: 4.375 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1493, allocations: 8.375 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1495, allocations: 77.53 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1495, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1496, allocations: 4 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1496, allocations: 0 / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1497, allocations: 39.97 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.1501, allocations: 324.6 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1503, allocations: 62.5 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1503, allocations: 24.84 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1504, allocations: 0 / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1504, allocations: 38.56 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1504, allocations: 0 / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.1514, allocations: 309 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1515, allocations: 55.34 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1517, allocations: 235.4 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1517, allocations: 29.7 kB / 474 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1518, allocations: 116.1 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1519, allocations: 39.36 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1519, allocations: 25.72 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.152, allocations: 322.8 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.1521, allocations: 43.97 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.1522, allocations: 34.73 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1524, allocations: 92.83 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1524, allocations: 0 / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002623/0.1527, allocations: 129.5 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1527, allocations: 7.938 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1527, allocations: 0 / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1528, allocations: 7.938 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1529, allocations: 31.97 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1529, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.153, allocations: 4 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.153, allocations: 8 kB / 474.8 MB, free: 8.578 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 (13): * Single equations (assignments): 13 * 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.0001096/0.1531, allocations: 133.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.1531, allocations: 15.81 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.1535, allocations: 176.8 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1535, allocations: 4 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1535, allocations: 0 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1536, allocations: 4 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.1542, allocations: 475 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1542, allocations: 3.984 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.1543, allocations: 31.92 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1543, allocations: 0 / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1544, allocations: 8.031 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.1544, allocations: 4 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1544, allocations: 0 / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1547, allocations: 236.2 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1547, allocations: 88.92 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1548, allocations: 7.969 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1548, allocations: 12 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1549, allocations: 11.92 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.1549, allocations: 4 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1551, allocations: 180.2 kB / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1551, allocations: 0 / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1553, allocations: 20 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001555/0.1569, allocations: 1.134 MB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1572, allocations: 95.94 kB / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1572, allocations: 0 / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1573, allocations: 47.92 kB / 477.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1577, allocations: 23.92 kB / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.1598, allocations: 1.808 MB / 479.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1602, allocations: 0.7197 MB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.1602, allocations: 16.55 kB / 480 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.1603, allocations: 43.41 kB / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1603, allocations: 0 / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.1809, allocations: 3.338 MB / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.721, allocations: 2.672 kB / 483.4 MB, free: 15.97 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches