Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",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.001112/0.001112, allocations: 111.3 kB / 17.06 MB, free: 5.996 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.00112/0.00112, allocations: 200 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2543, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006102/0.2604, allocations: 4.475 MB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.2629, allocations: 1.806 MB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.263, allocations: 4 kB / 406.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.2633, allocations: 43.69 kB / 406.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.2638, allocations: 123.2 kB / 406.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.2645, allocations: 258 kB / 406.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2649, allocations: 282.9 kB / 407.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.265, allocations: 13.11 kB / 407.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.2653, allocations: 127.7 kB / 407.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2655, allocations: 87.61 kB / 407.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.2655, allocations: 8 kB / 407.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2658, allocations: 95.94 kB / 407.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.2659, allocations: 39.83 kB / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.266, allocations: 79.66 kB / 407.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2663, allocations: 205.2 kB / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2663, allocations: 0 / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2663, allocations: 0 / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2663, allocations: 0 / 407.8 MB, free: 1.164 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00105/0.2674, allocations: 494.2 kB / 408.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2675, allocations: 12.03 kB / 408.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.2675, allocations: 46.73 kB / 408.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2677, allocations: 28.73 kB / 408.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.268, allocations: 208.2 kB / 408.6 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2681, allocations: 16.58 kB / 408.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.2681, allocations: 20.28 kB / 408.6 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.2685, allocations: 217.4 kB / 408.9 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2686, allocations: 0 / 408.9 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2686, allocations: 12 kB / 408.9 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2686, allocations: 4 kB / 408.9 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.269, allocations: 155.8 kB / 409 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.2703, allocations: 0.9401 MB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.2707, allocations: 154.7 kB / 410.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.2708, allocations: 52.83 kB / 410.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.2714, allocations: 0.5031 MB / 410.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2714, allocations: 38.56 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2714, allocations: 4 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002529/0.2739, allocations: 0.7592 MB / 411.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.274, allocations: 55.41 kB / 411.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2741, allocations: 156.5 kB / 411.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.2742, allocations: 37.64 kB / 411.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.2743, allocations: 139.8 kB / 411.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.2743, allocations: 74.94 kB / 411.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.2744, allocations: 57.69 kB / 412 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2745, allocations: 322.8 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.2748, allocations: 83.94 kB / 412.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.2751, allocations: 202.4 kB / 412.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.2757, allocations: 296.4 kB / 412.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2757, allocations: 4 kB / 412.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007345/0.2765, allocations: 317.2 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2765, allocations: 4 kB / 413.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2765, allocations: 7.938 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2766, allocations: 8 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.2769, allocations: 75.89 kB / 413.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2769, allocations: 4.281 kB / 413.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.2772, allocations: 23.98 kB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.2772, allocations: 15.98 kB / 413.3 MB, free: 11.2 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.0001228/0.2773, allocations: 141.7 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2774, allocations: 11.81 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.2781, allocations: 246.6 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2781, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2781, allocations: 4 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2781, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.2794, allocations: 0.5915 MB / 414.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2794, allocations: 4 kB / 414.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.2797, allocations: 51.89 kB / 414.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.2797, allocations: 4 kB / 414.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.2797, allocations: 16.05 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2797, allocations: 4 kB / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2797, allocations: 0 / 414.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.2806, allocations: 408.8 kB / 414.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.2806, allocations: 85.05 kB / 414.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.2807, allocations: 23.86 kB / 414.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.2809, allocations: 15.97 kB / 414.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.2809, allocations: 16.05 kB / 414.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.281, allocations: 8 kB / 414.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.2811, allocations: 114.1 kB / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2811, allocations: 0 / 415 MB, free: 9.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.2814, allocations: 60 kB / 415.1 MB, free: 9.297 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.001182/0.2826, allocations: 0.9731 MB / 416.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.2832, allocations: 219.9 kB / 416.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2832, allocations: 4 kB / 416.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.2835, allocations: 84.83 kB / 416.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.2839, allocations: 39.91 kB / 416.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.2872, allocations: 2.362 MB / 418.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2875, allocations: 0.7168 MB / 419.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.2877, allocations: 41.94 kB / 419.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2879, allocations: 55.41 kB / 419.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2879, allocations: 0 / 419.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.3112, allocations: 4.574 MB / 424.2 MB, free: 56 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.662, allocations: 15.48 kB / 424.2 MB, free: 44 kB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches