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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 109.5 kB / 17.73 MB, free: 5.359 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.001718/0.001719, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.297/1.297, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001261/0.001261, allocations: 55.92 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08097/0.08224, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.17/0.2523, allocations: 12.85 MB / 387.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.2541, allocations: 1.709 MB / 389.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2543, allocations: 4.062 kB / 389.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.2548, allocations: 178.3 kB / 389.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.2553, allocations: 309.3 kB / 389.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.2562, allocations: 406.5 kB / 390.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008/0.257, allocations: 0.824 MB / 391 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2572, allocations: 99.11 kB / 391.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.2578, allocations: 392.1 kB / 391.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2582, allocations: 266.5 kB / 391.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.2583, allocations: 29.66 kB / 391.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.2585, allocations: 105.2 kB / 391.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2587, allocations: 91.14 kB / 391.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2588, allocations: 181.1 kB / 392.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.2594, allocations: 471.6 kB / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2594, allocations: 0 / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2594, allocations: 0 / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2594, allocations: 0 / 392.6 MB, free: 3.676 MB / 318.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.0006923/0.2601, allocations: 0.5764 MB / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2602, allocations: 8.812 kB / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.2603, allocations: 70.17 kB / 393.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.2605, allocations: 48.12 kB / 393.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.2609, allocations: 288.7 kB / 393.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.261, allocations: 17.91 kB / 393.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.261, allocations: 25.47 kB / 393.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.2614, allocations: 326.1 kB / 393.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2615, allocations: 5.156 kB / 393.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2615, allocations: 13.7 kB / 393.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2615, allocations: 5.906 kB / 393.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.2618, allocations: 196 kB / 394.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2633, allocations: 1.734 MB / 395.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2635, allocations: 131 kB / 396 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.2636, allocations: 71.84 kB / 396 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2638, allocations: 168.2 kB / 396.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2638, allocations: 39.97 kB / 396.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.2638, allocations: 2.016 kB / 396.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001602/0.2654, allocations: 0.7882 MB / 397 MB, free: 148 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2654, allocations: 53.92 kB / 397.1 MB, free: 84 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.2657, allocations: 290.3 kB / 397.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.2658, allocations: 30.86 kB / 397.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2659, allocations: 199.9 kB / 397.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.266, allocations: 71.8 kB / 397.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.2661, allocations: 69.41 kB / 397.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2662, allocations: 336.2 kB / 398.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2663, allocations: 64.45 kB / 398.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2666, allocations: 194.2 kB / 398.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.267, allocations: 283.6 kB / 398.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.267, allocations: 2.094 kB / 398.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004947/0.2675, allocations: 328.9 kB / 398.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2675, allocations: 7.953 kB / 398.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2675, allocations: 4.844 kB / 398.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.804e-05/0.2676, allocations: 27.7 kB / 399 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.2679, allocations: 84.12 kB / 399 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.269, allocations: 1.403 MB / 400.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2693, allocations: 8.281 kB / 400.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.2693, allocations: 17.75 kB / 400.5 MB, free: 13.22 MB / 334.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.0001664/0.2695, allocations: 156.2 kB / 400.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.2695, allocations: 26.81 kB / 400.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.2699, allocations: 210.3 kB / 400.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2699, allocations: 7.844 kB / 400.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.2699, allocations: 0 / 400.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004022/0.2704, allocations: 488.1 kB / 401.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.2717, allocations: 0.7794 MB / 402.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2717, allocations: 1.406 kB / 402.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2719, allocations: 48.66 kB / 402.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.2719, allocations: 3.938 kB / 402.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2719, allocations: 8.672 kB / 402.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2719, allocations: 3.781 kB / 402.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.272, allocations: 7.938 kB / 402.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.2725, allocations: 395.1 kB / 402.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2726, allocations: 116.2 kB / 402.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2727, allocations: 10.44 kB / 402.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2729, allocations: 5.359 kB / 402.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.2729, allocations: 25.22 kB / 402.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.273, allocations: 13.08 kB / 402.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.2732, allocations: 207.1 kB / 402.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2732, allocations: 0 / 402.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.2737, allocations: 97.38 kB / 403 MB, free: 11.25 MB / 334.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.0009813/0.2747, allocations: 0.9634 MB / 404 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.2754, allocations: 308.7 kB / 404.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2754, allocations: 1.781 kB / 404.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2755, allocations: 75.81 kB / 404.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.2765, allocations: 161.9 kB / 404.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.2807, allocations: 3.068 MB / 407.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2811, allocations: 0.7626 MB / 408.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.2814, allocations: 65.86 kB / 408.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2816, allocations: 92.17 kB / 408.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2816, allocations: 3.938 kB / 408.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.4826, allocations: 8.839 MB / 417.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.88, allocations: 17.5 kB / 417.4 MB, free: 3.098 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches