Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001734, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 358.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2313, allocations: 50.54 MB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00551/0.2369, allocations: 4.545 MB / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2387, allocations: 1.81 MB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.2388, allocations: 4 kB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.239, allocations: 43.67 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.2393, allocations: 131.2 kB / 415.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.2399, allocations: 250.8 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.2402, allocations: 294.8 kB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2403, allocations: 17.06 kB / 415.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2405, allocations: 131.5 kB / 415.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2407, allocations: 75.69 kB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2407, allocations: 8 kB / 416 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.2409, allocations: 99.92 kB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.241, allocations: 43.83 kB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2411, allocations: 79.66 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2414, allocations: 214.4 kB / 416.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2414, allocations: 0 / 416.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2414, allocations: 0 / 416.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2415, allocations: 0 / 416.4 MB, free: 9.836 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008976/0.2424, allocations: 0.4911 MB / 416.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2424, allocations: 8.031 kB / 416.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.2425, allocations: 46.73 kB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2426, allocations: 24.89 kB / 417 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2429, allocations: 208.2 kB / 417.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2429, allocations: 12.66 kB / 417.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.243, allocations: 12.38 kB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.2434, allocations: 221.4 kB / 417.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2434, allocations: 3.984 kB / 417.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2434, allocations: 8 kB / 417.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2434, allocations: 4 kB / 417.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.2438, allocations: 147.8 kB / 417.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.245, allocations: 0.9557 MB / 418.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2454, allocations: 146.7 kB / 418.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2456, allocations: 56.83 kB / 418.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.2461, allocations: 0.5072 MB / 419.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2461, allocations: 30.56 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.2461, allocations: 0 / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002495/0.2486, allocations: 0.7744 MB / 420.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.2487, allocations: 55.41 kB / 420.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2488, allocations: 158.4 kB / 420.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2488, allocations: 25.7 kB / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.2489, allocations: 144.2 kB / 420.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.249, allocations: 83.36 kB / 420.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.2491, allocations: 53.7 kB / 420.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2492, allocations: 322.8 kB / 420.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.2494, allocations: 87.94 kB / 421 MB, free: 4.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2497, allocations: 193.5 kB / 421.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.2503, allocations: 296.8 kB / 421.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2503, allocations: 0 / 421.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006778/0.251, allocations: 321.1 kB / 421.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.251, allocations: 8.469 kB / 421.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.251, allocations: 8 kB / 421.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.251, allocations: 4 kB / 421.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.2514, allocations: 91.75 kB / 421.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2515, allocations: 4 kB / 421.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.2517, allocations: 15.98 kB / 421.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2517, allocations: 16 kB / 421.9 MB, free: 3.871 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001154/0.2519, allocations: 141.7 kB / 422.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.2519, allocations: 15.91 kB / 422.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.2526, allocations: 242.6 kB / 422.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2526, allocations: 0 / 422.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2526, allocations: 0 / 422.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2526, allocations: 3.984 kB / 422.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2539, allocations: 0.5993 MB / 422.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2539, allocations: 4 kB / 422.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2542, allocations: 51.89 kB / 423 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2542, allocations: 0 / 423 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2542, allocations: 8 kB / 423 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2542, allocations: 8 kB / 423 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2542, allocations: 3.938 kB / 423 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.2551, allocations: 413.4 kB / 423.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.2552, allocations: 105 kB / 423.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2552, allocations: 4 kB / 423.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2555, allocations: 15.92 kB / 423.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.2555, allocations: 15.98 kB / 423.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2555, allocations: 8 kB / 423.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.2556, allocations: 112.6 kB / 423.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2556, allocations: 4.062 kB / 423.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.256, allocations: 63.94 kB / 423.7 MB, free: 1.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.001175/0.2572, allocations: 0.981 MB / 424.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.2578, allocations: 212.3 kB / 424.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2578, allocations: 4.312 kB / 424.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.2581, allocations: 91.81 kB / 425 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2585, allocations: 37.97 kB / 425 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.2617, allocations: 2.377 MB / 427.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.262, allocations: 0.7128 MB / 428.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.2622, allocations: 53.86 kB / 428.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2624, allocations: 47.42 kB / 428.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2624, allocations: 0 / 428.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.2833, allocations: 4.526 MB / 432.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.856, allocations: 10.64 kB / 432.8 MB, free: 8.73 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches