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.001223/0.001223, allocations: 109.4 kB / 17.73 MB, free: 5.32 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.001206/0.001206, allocations: 196.2 kB / 18.67 MB, free: 4.387 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.322/1.322, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001741/0.001741, allocations: 63.84 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08613, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1656/0.2518, allocations: 12.85 MB / 387.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2536, allocations: 1.708 MB / 389.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2538, allocations: 9.219 kB / 389.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.2543, allocations: 170 kB / 389.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.2548, allocations: 317.4 kB / 389.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008036/0.2556, allocations: 411.9 kB / 390.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007681/0.2564, allocations: 0.8185 MB / 391 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2566, allocations: 96.22 kB / 391.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.2572, allocations: 395 kB / 391.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.2575, allocations: 268.1 kB / 391.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.2576, allocations: 28.34 kB / 391.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2578, allocations: 100.7 kB / 391.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2579, allocations: 96.7 kB / 391.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2581, allocations: 181.1 kB / 392.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.2586, allocations: 472.2 kB / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2587, allocations: 0 / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2587, allocations: 0 / 392.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2587, 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.0006691/0.2593, allocations: 0.5903 MB / 393.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2594, allocations: 11.22 kB / 393.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.557e-05/0.2595, allocations: 65.8 kB / 393.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.2598, allocations: 44.3 kB / 393.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.2601, allocations: 293.4 kB / 393.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2601, allocations: 18.72 kB / 393.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.2602, allocations: 27.84 kB / 393.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.2606, allocations: 317.1 kB / 393.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2606, allocations: 3.938 kB / 393.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2606, allocations: 16.41 kB / 393.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2606, allocations: 6.594 kB / 393.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.2609, allocations: 194.3 kB / 394.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.2624, allocations: 1.732 MB / 395.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2626, allocations: 143.2 kB / 396 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.2627, allocations: 63.25 kB / 396.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2628, allocations: 177 kB / 396.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2628, allocations: 34.34 kB / 396.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2628, allocations: 0 / 396.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001516/0.2643, allocations: 0.8035 MB / 397.1 MB, free: 120 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.2644, allocations: 53.44 kB / 397.1 MB, free: 56 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.2647, allocations: 286.4 kB / 397.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2647, allocations: 27.89 kB / 397.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2649, allocations: 197 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.2649, allocations: 79.72 kB / 397.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.265, allocations: 68.45 kB / 397.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2652, allocations: 337 kB / 398.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2653, allocations: 72.55 kB / 398.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2655, allocations: 189.4 kB / 398.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2659, allocations: 284.4 kB / 398.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2659, allocations: 1.469 kB / 398.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004915/0.2664, allocations: 334 kB / 399 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2664, allocations: 6.797 kB / 399 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2665, allocations: 3.938 kB / 399 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.619e-05/0.2665, allocations: 28.11 kB / 399 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2668, allocations: 84.7 kB / 399.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.2681, allocations: 1.395 MB / 400.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2683, allocations: 12.91 kB / 400.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.2683, allocations: 13.97 kB / 400.5 MB, free: 13.2 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.0001709/0.2685, allocations: 160.9 kB / 400.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.2685, allocations: 30.47 kB / 400.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.2689, allocations: 207.6 kB / 400.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2689, allocations: 1.031 kB / 400.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.269, allocations: 1.312 kB / 400.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004723/0.2694, allocations: 487.4 kB / 401.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2706, allocations: 0.7781 MB / 402.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2707, allocations: 4.047 kB / 402.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2708, allocations: 44.2 kB / 402.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.2708, allocations: 10.92 kB / 402.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2709, allocations: 12.52 kB / 402.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.2709, allocations: 4.25 kB / 402.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2709, allocations: 2.688 kB / 402.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.2714, allocations: 404.7 kB / 402.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.2715, allocations: 104.3 kB / 402.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2715, allocations: 8.562 kB / 402.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2718, allocations: 9.75 kB / 402.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.2718, allocations: 27.08 kB / 402.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2718, allocations: 12.83 kB / 402.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.2721, allocations: 206 kB / 403 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2721, allocations: 0 / 403 MB, free: 11.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000452/0.2725, allocations: 97.06 kB / 403.1 MB, free: 11.23 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.0009191/0.2735, allocations: 0.9658 MB / 404 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.274, allocations: 311.1 kB / 404.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.274, allocations: 1.312 kB / 404.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.2741, allocations: 72.17 kB / 404.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.275, allocations: 157.3 kB / 404.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.2787, allocations: 3.089 MB / 407.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.2792, allocations: 0.759 MB / 408.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.2794, allocations: 62.19 kB / 408.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2795, allocations: 92.3 kB / 408.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2796, allocations: 0 / 408.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.3279, allocations: 8.735 MB / 417.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.04, allocations: 9.281 kB / 417.3 MB, free: 3.117 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