Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001463/0.001463, allocations: 122.2 kB / 18.45 MB, free: 4.477 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.001193/0.001193, allocations: 190.9 kB / 21.39 MB, free: 1.543 MB / 14.72 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 1.368/1.368, allocations: 207.6 MB / 231.8 MB, free: 4 MB / 174.1 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.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001627/0.001627, allocations: 51.92 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09888, allocations: 49.13 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01655/0.1154, allocations: 12.95 MB / 404.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1178, allocations: 1.705 MB / 406.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.118, allocations: 7.938 kB / 406.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.1185, allocations: 171 kB / 406.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1191, allocations: 322.2 kB / 406.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1201, allocations: 411 kB / 407 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009393/0.121, allocations: 0.829 MB / 407.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.1212, allocations: 76.92 kB / 407.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.1218, allocations: 394.6 kB / 408.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.1222, allocations: 278.9 kB / 408.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.1223, allocations: 28 kB / 408.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.1225, allocations: 103.8 kB / 408.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1226, allocations: 95.7 kB / 408.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.1228, allocations: 191.2 kB / 408.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.1234, allocations: 474.3 kB / 409.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1234, allocations: 0 / 409.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1234, allocations: 0 / 409.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1234, allocations: 0 / 409.4 MB, free: 6.633 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000897/0.1243, allocations: 0.5805 MB / 410 MB, free: 6.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1244, allocations: 12.03 kB / 410 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.1245, allocations: 62.72 kB / 410.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.1247, allocations: 48.73 kB / 410.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.1252, allocations: 295.8 kB / 410.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1253, allocations: 20.94 kB / 410.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.1253, allocations: 28.36 kB / 410.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.1258, allocations: 321.3 kB / 410.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1258, allocations: 4 kB / 410.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.1259, allocations: 12 kB / 410.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1259, allocations: 8 kB / 410.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.1262, allocations: 189.5 kB / 411 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.1283, allocations: 1.74 MB / 412.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1286, allocations: 122.6 kB / 412.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1287, allocations: 60.78 kB / 412.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.1289, allocations: 178.2 kB / 413.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1289, allocations: 34.84 kB / 413.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.1289, allocations: 0 / 413.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001813/0.1307, allocations: 0.7961 MB / 413.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1307, allocations: 59.28 kB / 413.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1311, allocations: 278.6 kB / 414.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.1311, allocations: 33.7 kB / 414.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1312, allocations: 200 kB / 414.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.1313, allocations: 83.31 kB / 414.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.1314, allocations: 65.7 kB / 414.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1316, allocations: 334.8 kB / 414.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1317, allocations: 67.97 kB / 415 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.132, allocations: 195.1 kB / 415.2 MB, free: 352 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.1324, allocations: 279.2 kB / 415.4 MB, free: 16 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1324, allocations: 0 / 415.4 MB, free: 16 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005451/0.1329, allocations: 342 kB / 415.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.133, allocations: 11.91 kB / 415.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.133, allocations: 7.938 kB / 415.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.51e-05/0.1331, allocations: 25.36 kB / 415.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.1334, allocations: 87.83 kB / 415.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1346, allocations: 1.394 MB / 417.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1348, allocations: 8 kB / 417.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1348, allocations: 20 kB / 417.3 MB, free: 13.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.135, allocations: 161.6 kB / 417.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1351, allocations: 23.86 kB / 417.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.1354, allocations: 208.7 kB / 417.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1354, allocations: 4 kB / 417.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1354, allocations: 0 / 417.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004218/0.1358, allocations: 487.7 kB / 418.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.137, allocations: 0.7723 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.137, allocations: 3.938 kB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1372, allocations: 43.97 kB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1372, allocations: 11.77 kB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1372, allocations: 8 kB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1372, allocations: 7.938 kB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1372, allocations: 288 / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.1377, allocations: 411.5 kB / 419.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1378, allocations: 108.9 kB / 419.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.1378, allocations: 8 kB / 419.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1381, allocations: 8 kB / 419.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1381, allocations: 11.98 kB / 419.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.1381, allocations: 23.98 kB / 419.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1383, allocations: 201.9 kB / 419.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1383, allocations: 0 / 419.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.1388, allocations: 99.94 kB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * 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.001025/0.1398, allocations: 0.9618 MB / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.1403, allocations: 302.3 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1403, allocations: 1 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1405, allocations: 72.3 kB / 421.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.1413, allocations: 165 kB / 421.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.1453, allocations: 3.09 MB / 424.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1457, allocations: 0.7561 MB / 425.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.1459, allocations: 64.61 kB / 425.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.1461, allocations: 87.41 kB / 425.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1461, allocations: 0 / 425.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.1849, allocations: 8.796 MB / 434.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.47, allocations: 4 kB / 434.2 MB, free: 12.45 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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: 13.830878884997219]