Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002146/0.002146, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002551/0.002551, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.5 MB / 254 MB, free: 15.15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 53.38 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006361/0.1323, allocations: 4.573 MB / 430.9 MB, free: 44 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1346, allocations: 1.814 MB / 432.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.1347, allocations: 3.938 kB / 432.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.135, allocations: 47.67 kB / 432.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.1354, allocations: 127.2 kB / 432.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.1362, allocations: 247.6 kB / 433.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.1366, allocations: 290.9 kB / 433.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.1367, allocations: 9.109 kB / 433.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.137, allocations: 135.5 kB / 433.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1371, allocations: 83.67 kB / 433.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1372, allocations: 8 kB / 433.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.1375, allocations: 107.9 kB / 433.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1375, allocations: 39.88 kB / 433.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1377, allocations: 75.67 kB / 433.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.1381, allocations: 227.2 kB / 434.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1381, allocations: 0 / 434.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1381, allocations: 0 / 434.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1381, allocations: 0 / 434.1 MB, free: 12.85 MB / 366.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.001111/0.1392, allocations: 0.4911 MB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1392, allocations: 8.031 kB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.3e-05/0.1393, allocations: 54.72 kB / 434.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.1395, allocations: 16.89 kB / 434.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1398, allocations: 208.2 kB / 434.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1399, allocations: 12.66 kB / 434.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1399, allocations: 16.36 kB / 434.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.1404, allocations: 221.1 kB / 435.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1404, allocations: 3.938 kB / 435.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.1404, allocations: 8 kB / 435.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1404, allocations: 4 kB / 435.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.1408, allocations: 151.8 kB / 435.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1423, allocations: 0.9518 MB / 436.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.1427, allocations: 142.8 kB / 436.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1428, allocations: 56.83 kB / 436.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.1434, allocations: 0.4915 MB / 436.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1435, allocations: 38.5 kB / 437 MB, free: 9.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1435, allocations: 0 / 437 MB, free: 9.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002801/0.1463, allocations: 0.7737 MB / 437.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1463, allocations: 55.41 kB / 437.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1465, allocations: 158.4 kB / 437.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1465, allocations: 29.7 kB / 438 MB, free: 8.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1466, allocations: 144.2 kB / 438.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.1467, allocations: 79.3 kB / 438.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1468, allocations: 57.7 kB / 438.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1469, allocations: 326.8 kB / 438.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.1472, allocations: 79.94 kB / 438.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.1476, allocations: 197.6 kB / 438.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.1482, allocations: 289.4 kB / 439.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1482, allocations: 4 kB / 439.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007646/0.149, allocations: 328.8 kB / 439.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.149, allocations: 4 kB / 439.4 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.149, allocations: 4 kB / 439.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.149, allocations: 8 kB / 439.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.1494, allocations: 83.88 kB / 439.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1494, allocations: 4 kB / 439.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.1497, allocations: 19.98 kB / 439.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.1497, allocations: 19.88 kB / 439.6 MB, free: 6.887 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.0001481/0.1498, allocations: 141.8 kB / 439.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1499, allocations: 19.91 kB / 439.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.1506, allocations: 237.4 kB / 440 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1506, allocations: 4 kB / 440 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1506, allocations: 4 kB / 440 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1506, allocations: 3.984 kB / 440 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.152, allocations: 0.5993 MB / 440.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.152, allocations: 0 / 440.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.1523, allocations: 51.95 kB / 440.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1524, allocations: 4 kB / 440.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1524, allocations: 8 kB / 440.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1524, allocations: 0 / 440.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.1524, allocations: 11.88 kB / 440.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.1533, allocations: 404.8 kB / 441 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1534, allocations: 105 kB / 441.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1535, allocations: 8 kB / 441.2 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.1537, allocations: 19.92 kB / 441.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1537, allocations: 15.92 kB / 441.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1538, allocations: 11.98 kB / 441.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.811e-05/0.1539, allocations: 116 kB / 441.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1539, allocations: 0 / 441.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.1543, allocations: 63.94 kB / 441.4 MB, free: 4.961 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.001353/0.1556, allocations: 0.9644 MB / 442.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.1563, allocations: 200.5 kB / 442.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1563, allocations: 4.125 kB / 442.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.1566, allocations: 91.81 kB / 442.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.157, allocations: 43.7 kB / 442.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.1608, allocations: 2.383 MB / 445.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1611, allocations: 0.709 MB / 445.8 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.1614, allocations: 45.94 kB / 445.8 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1615, allocations: 47.41 kB / 445.9 MB, free: 228 kB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1615, allocations: 4 kB / 445.9 MB, free: 224 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2479/0.4094, allocations: 4.514 MB / 450.4 MB, free: 24.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.321, allocations: 10.61 kB / 450.4 MB, free: 24.47 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.98913298395928]