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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003693/0.003693, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8141/0.8141, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.331e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.1268/0.1268, allocations: 4.189 MB / 302.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1283, allocations: 1.625 MB / 304.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.1284, allocations: 1.156 kB / 304.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1286, allocations: 46.62 kB / 304.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1289, allocations: 127.1 kB / 304.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.1295, allocations: 251 kB / 304.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1297, allocations: 294.6 kB / 304.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1298, allocations: 11.91 kB / 304.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1301, allocations: 178.7 kB / 305.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1302, allocations: 74.48 kB / 305.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1302, allocations: 8.375 kB / 305.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.1304, allocations: 94.31 kB / 305.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.1304, allocations: 39.48 kB / 305.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1305, allocations: 60.17 kB / 305.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1308, allocations: 226.5 kB / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1308, allocations: 1.375 kB / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1308, allocations: 0 / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1308, allocations: 0 / 305.6 MB, free: 12.39 MB / 282.7 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.00067/0.1315, allocations: 419.5 kB / 306 MB, free: 12.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1315, allocations: 13.58 kB / 306 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1316, allocations: 49.8 kB / 306.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1317, allocations: 20.97 kB / 306.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1319, allocations: 151.2 kB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1319, allocations: 12.25 kB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.132, allocations: 13.84 kB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.1323, allocations: 381.7 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1323, allocations: 2.266 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1323, allocations: 11.09 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1323, allocations: 4.594 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1326, allocations: 145.9 kB / 306.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008365/0.1334, allocations: 0.8681 MB / 307.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.1337, allocations: 138.5 kB / 307.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.1338, allocations: 53.09 kB / 307.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.1341, allocations: 331.1 kB / 308.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.1341, allocations: 32.23 kB / 308.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1341, allocations: 3.938 kB / 308.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001579/0.1357, allocations: 0.6942 MB / 308.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1357, allocations: 59.22 kB / 309 MB, free: 10.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1358, allocations: 160 kB / 309.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1359, allocations: 30.73 kB / 309.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1359, allocations: 141.9 kB / 309.3 MB, free: 9.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1359, allocations: 82.73 kB / 309.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.136, allocations: 62.17 kB / 309.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.1361, allocations: 327.7 kB / 309.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1362, allocations: 85.19 kB / 309.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1364, allocations: 193 kB / 310 MB, free: 9.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.1367, allocations: 293.6 kB / 310.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1367, allocations: 5.156 kB / 310.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004429/0.1372, allocations: 319.2 kB / 310.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1372, allocations: 7.562 kB / 310.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1372, allocations: 3.734 kB / 310.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1372, allocations: 5.469 kB / 310.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1374, allocations: 87.11 kB / 310.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1374, allocations: 10.98 kB / 310.8 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1375, allocations: 15.05 kB / 310.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.1376, allocations: 21.86 kB / 310.8 MB, free: 8.918 MB / 282.7 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 7.811e-05/0.1376, allocations: 131.8 kB / 310.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1377, allocations: 19.56 kB / 310.9 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.1381, allocations: 241.7 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1381, allocations: 2.281 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1381, allocations: 6.219 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1381, allocations: 2.75 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.1389, allocations: 0.5558 MB / 311.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1389, allocations: 1.125 kB / 311.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.139, allocations: 52.09 kB / 311.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.139, allocations: 6.094 kB / 311.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1391, allocations: 8.844 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1391, allocations: 2.875 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1391, allocations: 1.188 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.1396, allocations: 410.8 kB / 312.2 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.1396, allocations: 9.375 kB / 312.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1396, allocations: 7.844 kB / 312.2 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1397, allocations: 15.75 kB / 312.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1398, allocations: 18.48 kB / 312.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1398, allocations: 10.52 kB / 312.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.1398, allocations: 112.1 kB / 312.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1398, allocations: 0 / 312.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.1401, allocations: 62.59 kB / 312.4 MB, free: 7.891 MB / 282.7 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.0007605/0.1409, allocations: 0.9639 MB / 313.4 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1413, allocations: 217.8 kB / 313.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1413, allocations: 0 / 313.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1414, allocations: 85.38 kB / 313.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1417, allocations: 45.81 kB / 313.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.144, allocations: 2.318 MB / 316.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.1441, allocations: 104.4 kB / 316.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.1442, allocations: 46.39 kB / 316.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1443, allocations: 49.78 kB / 316.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of SimCode: time 1.864e-06/0.1443, allocations: 4 kB / 316.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.169, allocations: 5.344 MB / 321.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.235, allocations: 10.03 kB / 321.6 MB, free: 3.129 MB / 282.7 MB " [Timeout remaining time 653] (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.019992 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.844294592738152]