Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001378/0.001378, 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.001395/0.001395, 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.433/1.433, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2041/0.2041, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 67.22 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.004574/0.1542, allocations: 1.586 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1555, allocations: 419.2 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1556, allocations: 3.938 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.156, allocations: 107.7 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1564, allocations: 79.78 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1569, allocations: 103.7 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1571, allocations: 83.86 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1572, allocations: 16.19 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.1573, allocations: 43.83 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1575, allocations: 59.88 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1576, allocations: 7.938 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1577, allocations: 47.92 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1578, allocations: 19.92 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.1579, allocations: 39.72 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1581, allocations: 99.94 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1582, allocations: 3.938 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1582, allocations: 3.938 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1582, allocations: 0 / 472.1 MB, free: 11.56 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.0007442/0.1589, allocations: 422.9 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001331/0.1591, allocations: 8.031 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.1591, allocations: 34.75 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.1592, allocations: 16.75 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1595, allocations: 204 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1595, allocations: 4.375 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1596, allocations: 8.125 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1598, allocations: 53.67 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1598, allocations: 4 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1598, allocations: 4 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1599, allocations: 0 / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.16, allocations: 27.97 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.1606, allocations: 308.7 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1608, allocations: 46.55 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.161, allocations: 20.84 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.161, allocations: 4 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.161, allocations: 34.64 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.797e-06/0.1611, allocations: 0 / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001355/0.1624, allocations: 244.8 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1625, allocations: 55.34 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.1629, allocations: 242.7 kB / 473.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.163, allocations: 25.7 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1631, allocations: 108.1 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1631, allocations: 23.56 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.1632, allocations: 25.72 kB / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1634, allocations: 330.8 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1635, allocations: 23.98 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1637, allocations: 32.06 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.164, allocations: 76.8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.164, allocations: 4 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003584/0.1644, allocations: 113.5 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1644, allocations: 8 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1645, allocations: 0 / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1645, allocations: 0 / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1647, allocations: 15.98 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1647, allocations: 7.938 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.1648, allocations: 3.984 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1648, allocations: 4 kB / 474.5 MB, free: 8.828 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 (8): * Single equations (assignments): 8 * 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.0001456/0.1649, allocations: 134.9 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.165, allocations: 15.81 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.1655, allocations: 135.2 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1655, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/0.1655, allocations: 3.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1655, allocations: 3.984 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.1665, allocations: 427.2 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1665, allocations: 3.938 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1667, allocations: 15.98 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1667, allocations: 4 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1667, allocations: 0 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1667, allocations: 0 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.1667, allocations: 3.984 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1671, allocations: 220.2 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1672, allocations: 88.86 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1673, allocations: 11.94 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1674, allocations: 7.984 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1675, allocations: 4 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1675, allocations: 4 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.1677, allocations: 187.2 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1678, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1683, allocations: 20 kB / 475.8 MB, free: 7.457 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 (8): * Single equations (assignments): 8 * 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.002316/0.1706, allocations: 1.098 MB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.171, allocations: 79.89 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.171, allocations: 0 / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.1713, allocations: 39.97 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.1719, allocations: 16.31 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.175, allocations: 1.786 MB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.1755, allocations: 0.7158 MB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1756, allocations: 20.66 kB / 479.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.1757, allocations: 31.42 kB / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1757, allocations: 0 / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.2011, allocations: 3.165 MB / 482.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.74, allocations: 8.062 kB / 482.8 MB, free: 0.6172 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches