Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 59.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2188, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01598/0.2349, allocations: 13.01 MB / 421.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.2485, allocations: 11.54 MB / 433.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.2486, allocations: 0 / 433.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2489, allocations: 71.55 kB / 433.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.2492, allocations: 83.44 kB / 433.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.2619, allocations: 5.078 MB / 438.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2623, allocations: 234.9 kB / 438.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.2623, allocations: 17.44 kB / 438.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.2628, allocations: 191.3 kB / 439 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2629, allocations: 75.69 kB / 439.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.2629, allocations: 8 kB / 439.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/0.2759, allocations: 7.001 MB / 446.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.276, allocations: 23.92 kB / 446.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2761, allocations: 71.7 kB / 446.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.2839, allocations: 3.878 MB / 450.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2839, allocations: 0 / 450.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.2839, allocations: 0 / 450.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2839, allocations: 7.938 kB / 450.1 MB, free: 8.098 MB / 366.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.004532/0.2885, allocations: 1.171 MB / 451.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2885, allocations: 12.02 kB / 451.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/0.2886, allocations: 46.75 kB / 451.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.2891, allocations: 48.84 kB / 451.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2894, allocations: 228.1 kB / 451.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.2895, allocations: 12.66 kB / 451.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.2895, allocations: 20.12 kB / 451.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.2908, allocations: 380.9 kB / 452 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2908, allocations: 4 kB / 452 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.2909, allocations: 8 kB / 452 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2909, allocations: 7.984 kB / 452 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2924, allocations: 351.5 kB / 452.3 MB, free: 5.703 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2939, allocations: 1.188 MB / 453.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.2948, allocations: 283.2 kB / 453.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.2951, allocations: 118.9 kB / 453.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1064/0.4015, allocations: 52.8 MB / 0.4948 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.4016, allocations: 30.56 kB / 0.4949 GB, free: 8.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.4016, allocations: 0 / 0.4949 GB, free: 8.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.007066/0.4087, allocations: 1.575 MB / 0.4964 GB, free: 6.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.4088, allocations: 114.7 kB / 0.4965 GB, free: 6.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4089, allocations: 125.7 kB / 0.4966 GB, free: 6.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4089, allocations: 29.7 kB / 0.4967 GB, free: 6.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.409, allocations: 112.6 kB / 0.4968 GB, free: 6.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4091, allocations: 122.9 kB / 0.4969 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4093, allocations: 69.69 kB / 0.497 GB, free: 6.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4094, allocations: 330.8 kB / 0.4973 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.4098, allocations: 135.7 kB / 0.4974 GB, free: 5.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.4103, allocations: 194.8 kB / 0.4976 GB, free: 5.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.4112, allocations: 350.5 kB / 0.4979 GB, free: 5.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4112, allocations: 0 / 0.4979 GB, free: 5.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001141/0.4123, allocations: 430 kB / 0.4983 GB, free: 4.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4124, allocations: 10.75 kB / 0.4983 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4124, allocations: 4 kB / 0.4984 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.4126, allocations: 32.84 kB / 0.4984 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.4131, allocations: 92.03 kB / 0.4985 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004374/0.4135, allocations: 0.5523 MB / 0.499 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.4138, allocations: 15.98 kB / 0.499 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.4139, allocations: 19.98 kB / 0.499 GB, free: 4.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.000153/0.414, allocations: 139 kB / 0.4992 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.4141, allocations: 15.91 kB / 0.4992 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.4165, allocations: 1.443 MB / 0.5006 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.4165, allocations: 27.95 kB / 0.5006 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4165, allocations: 32 / 0.5006 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4165, allocations: 4 kB / 0.5006 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.4197, allocations: 1.983 MB / 0.5026 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4197, allocations: 0 / 0.5026 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.4202, allocations: 79.86 kB / 0.5026 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.4205, allocations: 76.86 kB / 0.5027 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.4205, allocations: 15.98 kB / 0.5027 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/0.421, allocations: 0.5878 MB / 0.5033 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.421, allocations: 4.094 kB / 0.5033 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.4234, allocations: 1.698 MB / 0.505 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.4235, allocations: 124.6 kB / 0.5051 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.4236, allocations: 15.94 kB / 0.5051 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.424, allocations: 31.95 kB / 0.5051 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.4241, allocations: 31.91 kB / 0.5052 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.4241, allocations: 11.98 kB / 0.5052 GB, free: 13.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.4242, allocations: 91.27 kB / 0.5053 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4242, allocations: 0 / 0.5053 GB, free: 13.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002543/0.4268, allocations: 0.9747 MB / 0.5062 GB, free: 12.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.006853/0.4336, allocations: 3.277 MB / 0.5094 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.4352, allocations: 0.6041 MB / 0.51 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4352, allocations: 448 / 0.51 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.4361, allocations: 0.5162 MB / 0.5105 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.4369, allocations: 76.52 kB / 0.5106 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/0.4443, allocations: 3.917 MB / 0.5144 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4448, allocations: 0.8178 MB / 0.5152 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.4451, allocations: 133.8 kB / 0.5153 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4454, allocations: 127.4 kB / 0.5155 GB, free: 2.809 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4454, allocations: 0 / 0.5155 GB, free: 2.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2469/0.6923, allocations: 40.63 MB / 0.5551 GB, free: 112.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.28, allocations: 10.94 kB / 0.5551 GB, free: 112.3 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_WaterIF97_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_WaterIF97.fmu > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches