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.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.0007959/0.0007959, allocations: 87.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.003527/0.003527, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8158/0.8158, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 298.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.087e-05, allocations: 2.281 kB / 298.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1202/0.1202, allocations: 11.81 MB / 310.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1218, allocations: 1.605 MB / 311.9 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1219, allocations: 4.062 kB / 311.9 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.1224, allocations: 164 kB / 312.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.1229, allocations: 327.3 kB / 312.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.1236, allocations: 433.3 kB / 312.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.1243, allocations: 0.8295 MB / 313.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1245, allocations: 70.58 kB / 313.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.1251, allocations: 0.4979 MB / 314.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1253, allocations: 241.8 kB / 314.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1254, allocations: 28.75 kB / 314.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1255, allocations: 94.62 kB / 314.6 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.1256, allocations: 104.3 kB / 314.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1257, allocations: 140.5 kB / 314.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1262, allocations: 494.2 kB / 315.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1262, allocations: 0 / 315.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1262, allocations: 1.5 kB / 315.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1262, allocations: 0 / 315.3 MB, free: 6.652 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005662/0.1268, allocations: 0.5049 MB / 315.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1268, allocations: 13.58 kB / 315.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.1269, allocations: 62.42 kB / 315.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.127, allocations: 43.17 kB / 315.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1274, allocations: 226.7 kB / 316.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1274, allocations: 22.44 kB / 316.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1274, allocations: 27.12 kB / 316.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1278, allocations: 0.537 MB / 316.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1278, allocations: 1.562 kB / 316.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1279, allocations: 16.06 kB / 316.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1279, allocations: 6.203 kB / 316.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.1281, allocations: 197.4 kB / 316.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1292, allocations: 1.366 MB / 318.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1294, allocations: 124.3 kB / 318.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.1294, allocations: 59.28 kB / 318.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.1295, allocations: 14.84 kB / 318.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1295, allocations: 40.34 kB / 318.5 MB, free: 4.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1295, allocations: 4 kB / 318.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001093/0.1306, allocations: 0.6487 MB / 319.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.1306, allocations: 55.05 kB / 319.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1308, allocations: 290.6 kB / 319.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1308, allocations: 32.02 kB / 319.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.1309, allocations: 199.5 kB / 319.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1309, allocations: 79.41 kB / 319.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.131, allocations: 63.47 kB / 319.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.131, allocations: 341.7 kB / 320.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.1311, allocations: 69.03 kB / 320.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1312, allocations: 196.9 kB / 320.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1315, allocations: 278.6 kB / 320.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1315, allocations: 2.219 kB / 320.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003238/0.1318, allocations: 332.7 kB / 321.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1318, allocations: 6.5 kB / 321.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1318, allocations: 6.047 kB / 321.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.513e-05/0.1319, allocations: 22.98 kB / 321.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1321, allocations: 89.5 kB / 321.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005562/0.1326, allocations: 1.294 MB / 322.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1328, allocations: 8.031 kB / 322.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1328, allocations: 18.31 kB / 322.5 MB, free: 0.9766 MB / 282.7 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 9.245e-05/0.1329, allocations: 152.6 kB / 322.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1329, allocations: 30.06 kB / 322.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1331, allocations: 210.6 kB / 322.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1331, allocations: 2.781 kB / 322.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1331, allocations: 0 / 322.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001821/0.1333, allocations: 485.3 kB / 323.4 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.1341, allocations: 0.6419 MB / 324 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1341, allocations: 3.344 kB / 324 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1342, allocations: 44.64 kB / 324.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1342, allocations: 4.391 kB / 324.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1342, allocations: 7.859 kB / 324.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1342, allocations: 8.547 kB / 324.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1342, allocations: 6.531 kB / 324.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1345, allocations: 396.6 kB / 324.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.1346, allocations: 23.62 kB / 324.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1346, allocations: 13.98 kB / 324.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1347, allocations: 8.562 kB / 324.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.1347, allocations: 21.2 kB / 324.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1347, allocations: 15.7 kB / 324.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1349, allocations: 204.6 kB / 324.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1349, allocations: 5.531 kB / 324.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.1352, allocations: 93.72 kB / 324.9 MB, free: 15.26 MB / 298.7 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.0006315/0.1358, allocations: 0.9709 MB / 325.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1362, allocations: 302.8 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.1362, allocations: 3.938 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1363, allocations: 68.48 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.1368, allocations: 170.1 kB / 326.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1394, allocations: 3.041 MB / 329.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.1395, allocations: 149.9 kB / 329.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.1397, allocations: 63.42 kB / 329.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.1398, allocations: 90.22 kB / 329.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1398, allocations: 4 kB / 329.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.1637, allocations: 9.882 MB / 339.6 MB, free: 4.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/7.839, allocations: 15.98 kB / 339.6 MB, free: 4.555 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.361843393184245]