Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.001928/0.001928, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.002253/0.002253, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.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.001553/0.001553, allocations: 51.92 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1214, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007885/0.1294, allocations: 4.476 MB / 331.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.132, allocations: 1.822 MB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1322, allocations: 4 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1326, allocations: 39.75 kB / 333.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1331, allocations: 123.2 kB / 333.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.134, allocations: 239.4 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.1346, allocations: 294.8 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.1346, allocations: 12.89 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.135, allocations: 131.6 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1352, allocations: 79.69 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.1353, allocations: 12 kB / 334.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1357, allocations: 95.88 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1358, allocations: 43.88 kB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1359, allocations: 71.72 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.1364, allocations: 211.6 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1364, allocations: 0 / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1364, allocations: 0 / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1364, allocations: 0 / 335 MB, free: 12.72 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001191/0.1376, allocations: 495.2 kB / 335.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1377, allocations: 8.031 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.1378, allocations: 50.67 kB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.138, allocations: 16.84 kB / 335.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1383, allocations: 208.2 kB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1384, allocations: 8.656 kB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.1384, allocations: 28.31 kB / 335.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.1389, allocations: 208.6 kB / 336 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1389, allocations: 0 / 336 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.139, allocations: 8 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.139, allocations: 4 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.1394, allocations: 159.8 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1412, allocations: 0.9401 MB / 337.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.1417, allocations: 150.8 kB / 337.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1419, allocations: 61.61 kB / 337.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.1426, allocations: 0.5031 MB / 337.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1427, allocations: 34.56 kB / 337.8 MB, free: 9.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.1427, allocations: 0 / 337.8 MB, free: 9.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002985/0.1457, allocations: 0.7714 MB / 338.6 MB, free: 8.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1457, allocations: 55.41 kB / 338.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1459, allocations: 146.4 kB / 338.8 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.146, allocations: 29.7 kB / 338.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1461, allocations: 143.8 kB / 339 MB, free: 8.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.1462, allocations: 78.98 kB / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1463, allocations: 61.59 kB / 339.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1465, allocations: 322.8 kB / 339.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.1468, allocations: 87.88 kB / 339.5 MB, free: 7.812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1472, allocations: 197.2 kB / 339.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.1478, allocations: 298.1 kB / 340 MB, free: 7.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.1478, allocations: 0 / 340 MB, free: 7.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000839/0.1487, allocations: 321.2 kB / 340.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1487, allocations: 4 kB / 340.3 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1487, allocations: 4 kB / 340.3 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.1488, allocations: 8 kB / 340.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.1493, allocations: 75.89 kB / 340.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.1493, allocations: 11.92 kB / 340.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.1496, allocations: 20.22 kB / 340.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.1496, allocations: 27.97 kB / 340.5 MB, free: 6.762 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001663/0.1498, allocations: 137.7 kB / 340.6 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1499, allocations: 15.81 kB / 340.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.1506, allocations: 250.8 kB / 340.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1507, allocations: 0 / 340.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1507, allocations: 0 / 340.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1507, allocations: 7.938 kB / 340.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1522, allocations: 0.5845 MB / 341.5 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1522, allocations: 11.92 kB / 341.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.1525, allocations: 43.97 kB / 341.5 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.1526, allocations: 4.125 kB / 341.5 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1526, allocations: 15.92 kB / 341.5 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1526, allocations: 7.938 kB / 341.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1526, allocations: 0 / 341.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000996/0.1536, allocations: 402.5 kB / 341.9 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.1537, allocations: 92.94 kB / 342 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1538, allocations: 7.938 kB / 342 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.154, allocations: 20.05 kB / 342 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1541, allocations: 15.92 kB / 342.1 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1541, allocations: 8 kB / 342.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.1542, allocations: 111.2 kB / 342.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1542, allocations: 0 / 342.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.1546, allocations: 56 kB / 342.2 MB, free: 4.867 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.001476/0.1561, allocations: 0.9655 MB / 343.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.1568, allocations: 228.4 kB / 343.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1569, allocations: 0 / 343.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.1571, allocations: 91.45 kB / 343.5 MB, free: 3.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1576, allocations: 39.92 kB / 343.6 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.1616, allocations: 2.381 MB / 345.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1621, allocations: 0.709 MB / 346.6 MB, free: 208 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.1624, allocations: 45.94 kB / 346.7 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1626, allocations: 51.41 kB / 346.7 MB, free: 108 kB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1626, allocations: 0 / 346.7 MB, free: 108 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.1965, allocations: 4.456 MB / 351.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.07, allocations: 19.72 kB / 351.2 MB, free: 11.57 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches