Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 51.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006109/0.1231, allocations: 4.507 MB / 422.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1252, allocations: 1.822 MB / 424.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.1253, allocations: 3.938 kB / 424.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1255, allocations: 35.75 kB / 424.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1259, allocations: 131.2 kB / 424.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.1265, allocations: 244.8 kB / 424.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1269, allocations: 290.9 kB / 424.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.127, allocations: 5.125 kB / 424.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.1272, allocations: 143.5 kB / 424.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1274, allocations: 79.67 kB / 425 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1274, allocations: 12 kB / 425 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.1276, allocations: 95.86 kB / 425.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.1277, allocations: 35.89 kB / 425.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1278, allocations: 75.72 kB / 425.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1282, allocations: 219.2 kB / 425.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1282, allocations: 0 / 425.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1282, allocations: 0 / 425.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1282, allocations: 0 / 425.4 MB, free: 4.938 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001001/0.1292, allocations: 499 kB / 425.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1292, allocations: 8.031 kB / 425.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.1293, allocations: 46.73 kB / 426 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1295, allocations: 24.84 kB / 426 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1297, allocations: 208.2 kB / 426.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1298, allocations: 12.66 kB / 426.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1298, allocations: 20.27 kB / 426.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.1302, allocations: 220.5 kB / 426.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1303, allocations: 7.938 kB / 426.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1303, allocations: 8 kB / 426.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1303, allocations: 0 / 426.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.1307, allocations: 151.8 kB / 426.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1321, allocations: 0.9442 MB / 427.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1325, allocations: 150.7 kB / 427.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1327, allocations: 48.83 kB / 427.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.1333, allocations: 0.5071 MB / 428.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1333, allocations: 30.56 kB / 428.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1333, allocations: 4 kB / 428.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002707/0.136, allocations: 0.7642 MB / 429 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1361, allocations: 63.39 kB / 429.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1362, allocations: 148.5 kB / 429.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1362, allocations: 25.7 kB / 429.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1363, allocations: 156.1 kB / 429.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.1364, allocations: 75.38 kB / 429.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.1365, allocations: 57.7 kB / 429.6 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1366, allocations: 322.8 kB / 429.9 MB, free: 108 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.1369, allocations: 83.94 kB / 430 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.1373, allocations: 193.8 kB / 430.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1379, allocations: 309.2 kB / 430.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1379, allocations: 0 / 430.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007491/0.1387, allocations: 314.8 kB / 430.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1387, allocations: 8 kB / 430.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1387, allocations: 4 kB / 430.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1387, allocations: 4 kB / 430.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.1391, allocations: 91.81 kB / 430.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1391, allocations: 8.281 kB / 430.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1393, allocations: 15.98 kB / 430.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.1394, allocations: 16 kB / 430.9 MB, free: 14.98 MB / 366.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.0001389/0.1395, allocations: 137.7 kB / 431 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1396, allocations: 23.89 kB / 431.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1403, allocations: 242.6 kB / 431.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1403, allocations: 0 / 431.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1403, allocations: 0 / 431.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1403, allocations: 3.984 kB / 431.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1417, allocations: 0.6008 MB / 431.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1417, allocations: 0 / 431.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.142, allocations: 55.89 kB / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.142, allocations: 128 / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.142, allocations: 15.94 kB / 432 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.142, allocations: 4 kB / 432 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.142, allocations: 0 / 432 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.1429, allocations: 405.3 kB / 432.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.143, allocations: 93.05 kB / 432.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.143, allocations: 7.938 kB / 432.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1433, allocations: 12.05 kB / 432.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1433, allocations: 15.98 kB / 432.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.1433, allocations: 15.98 kB / 432.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.669e-05/0.1434, allocations: 111.9 kB / 432.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1434, allocations: 0 / 432.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.1438, allocations: 63.94 kB / 432.7 MB, free: 13.07 MB / 366.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.001367/0.1452, allocations: 0.9731 MB / 433.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1458, allocations: 203.8 kB / 433.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.1458, allocations: 4 kB / 433.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.1461, allocations: 89 kB / 433.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1465, allocations: 46.7 kB / 434 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.1502, allocations: 2.368 MB / 436.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1505, allocations: 0.7168 MB / 437.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.1508, allocations: 45.92 kB / 437.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1509, allocations: 51.41 kB / 437.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1509, allocations: 0 / 437.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.1805, allocations: 4.545 MB / 441.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.235, allocations: 15.8 kB / 441.7 MB, free: 3.844 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.999392088968307]