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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 97.88 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB 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.0006512/0.0006512, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.116, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01126/0.1273, allocations: 10.65 MB / 339 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1292, allocations: 1.504 MB / 340.5 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1293, allocations: 7.938 kB / 340.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.1298, allocations: 139.3 kB / 340.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1301, allocations: 203.4 kB / 340.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.131, allocations: 331.3 kB / 341.2 MB, free: 7.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1315, allocations: 459.1 kB / 341.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1317, allocations: 68.67 kB / 341.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.1321, allocations: 307.1 kB / 342 MB, free: 6.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1324, allocations: 155.3 kB / 342.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1324, allocations: 12 kB / 342.1 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1326, allocations: 51.98 kB / 342.2 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.1327, allocations: 71.78 kB / 342.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.1328, allocations: 93.58 kB / 342.3 MB, free: 6.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1331, allocations: 343.4 kB / 342.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1331, allocations: 0 / 342.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.063e-05/0.1332, allocations: 4 kB / 342.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1332, allocations: 3.938 kB / 342.7 MB, free: 5.68 MB / 286.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.0006529/0.1338, allocations: 0.5106 MB / 343.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1339, allocations: 12.02 kB / 343.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.1341, allocations: 43.62 kB / 343.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1345, allocations: 274.5 kB / 343.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1346, allocations: 16.56 kB / 343.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1346, allocations: 27.94 kB / 343.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.1351, allocations: 313.4 kB / 343.9 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1351, allocations: 11.89 kB / 343.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1351, allocations: 12 kB / 343.9 MB, free: 4.348 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1351, allocations: 4 kB / 343.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1354, allocations: 193.5 kB / 344.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.1373, allocations: 1.728 MB / 345.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1375, allocations: 138.5 kB / 346 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.1377, allocations: 174.2 kB / 346.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1377, allocations: 42.52 kB / 346.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1377, allocations: 0 / 346.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001661/0.1394, allocations: 0.8025 MB / 347 MB, free: 1.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1394, allocations: 55.34 kB / 347 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1397, allocations: 286.5 kB / 347.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1397, allocations: 25.7 kB / 347.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1399, allocations: 195.6 kB / 347.5 MB, free: 436 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.1399, allocations: 74.91 kB / 347.6 MB, free: 360 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.1399, allocations: 8 kB / 347.6 MB, free: 352 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1401, allocations: 334.8 kB / 347.9 MB, free: 8 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1402, allocations: 67.75 kB / 348 MB, free: 15.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1404, allocations: 191.1 kB / 348.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1406, allocations: 99.92 kB / 348.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1406, allocations: 11.95 kB / 348.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004687/0.1411, allocations: 321.9 kB / 348.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1411, allocations: 8.5 kB / 348.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1411, allocations: 4 kB / 348.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.809e-05/0.1412, allocations: 24.86 kB / 348.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1415, allocations: 79.89 kB / 348.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1425, allocations: 1.307 MB / 350 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1427, allocations: 12 kB / 350 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1428, allocations: 23.98 kB / 350.1 MB, free: 13.67 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1429, allocations: 157.7 kB / 350.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.143, allocations: 35.84 kB / 350.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.1433, allocations: 212.7 kB / 350.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.1434, allocations: 7.984 kB / 350.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1434, allocations: 0 / 350.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003474/0.1437, allocations: 479.8 kB / 350.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1447, allocations: 0.7721 MB / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1448, allocations: 4 kB / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.1449, allocations: 43.91 kB / 351.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1449, allocations: 4.281 kB / 351.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.145, allocations: 12 kB / 351.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.145, allocations: 7.953 kB / 351.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.145, allocations: 4 kB / 351.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.1455, allocations: 0.4942 MB / 352.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.1456, allocations: 104.8 kB / 352.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1456, allocations: 8 kB / 352.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1458, allocations: 15.98 kB / 352.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1459, allocations: 27.94 kB / 352.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.1459, allocations: 15.98 kB / 352.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1461, allocations: 201.9 kB / 352.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1461, allocations: 0 / 352.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1466, allocations: 103.9 kB / 352.7 MB, free: 10.67 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.1468, allocations: 131.1 kB / 352.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.1473, allocations: 299 kB / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1473, allocations: 0 / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1474, allocations: 72.98 kB / 353.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.1483, allocations: 153.5 kB / 353.4 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1493, allocations: 0.7376 MB / 354.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1497, allocations: 0.768 MB / 354.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.1499, allocations: 58.5 kB / 354.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.15, allocations: 31.42 kB / 355 MB, free: 8.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.15, allocations: 0 / 355 MB, free: 8.328 MB / 302.1 MB Notification: Performance of Templates: time 0.008963/0.159, allocations: 5.125 MB / 360.1 MB, free: 3.203 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches