Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.WaterIF97,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_WaterIF97",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.001297/0.001297, allocations: 100.6 kB / 17.58 MB, free: 5.418 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: 192.1 kB / 18.51 MB, free: 4.508 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.256/1.256, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001326/0.001326, allocations: 55.92 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08411, allocations: 46.63 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01662/0.1008, allocations: 12.91 MB / 340.3 MB, free: 7.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.1141, allocations: 11.53 MB / 351.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1143, allocations: 4 kB / 351.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1147, allocations: 71.55 kB / 351.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1149, allocations: 79.44 kB / 352 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.1277, allocations: 5.072 MB / 357 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1282, allocations: 231 kB / 357.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1282, allocations: 5.453 kB / 357.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.1286, allocations: 203.3 kB / 357.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1287, allocations: 71.69 kB / 357.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1288, allocations: 8 kB / 357.5 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.1401, allocations: 6.825 MB / 364.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1402, allocations: 27.92 kB / 364.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.1403, allocations: 67.72 kB / 364.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00617/0.1464, allocations: 3.868 MB / 368.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1465, allocations: 0 / 368.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1465, allocations: 0 / 368.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1465, allocations: 0 / 368.3 MB, free: 11.29 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.004505/0.151, allocations: 1.146 MB / 369.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.151, allocations: 8.031 kB / 369.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.1511, allocations: 54.67 kB / 369.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.1516, allocations: 52.8 kB / 369.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1519, allocations: 216.2 kB / 369.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1519, allocations: 12.31 kB / 369.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.152, allocations: 20.12 kB / 369.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1533, allocations: 380.1 kB / 370.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1533, allocations: 0 / 370.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.1534, allocations: 8 kB / 370.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1534, allocations: 7.938 kB / 370.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.155, allocations: 359.5 kB / 370.6 MB, free: 8.926 MB / 318.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.001537/0.1566, allocations: 1.184 MB / 371.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.1574, allocations: 279.8 kB / 372 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.1578, allocations: 114.9 kB / 372.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.237/0.3948, allocations: 47.45 MB / 419.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3948, allocations: 38.36 kB / 419.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.3949, allocations: 0 / 419.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006566/0.4014, allocations: 1.581 MB / 421.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.4015, allocations: 109.9 kB / 421.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4016, allocations: 125.5 kB / 421.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.4017, allocations: 33.39 kB / 421.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.4017, allocations: 105.9 kB / 421.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.4018, allocations: 118.3 kB / 421.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.4019, allocations: 71.56 kB / 421.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.975e-05/0.402, allocations: 328.3 kB / 422.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.4023, allocations: 133.3 kB / 422.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.4027, allocations: 198.5 kB / 422.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.4034, allocations: 355.7 kB / 422.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4034, allocations: 3.062 kB / 422.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009685/0.4044, allocations: 423.8 kB / 423.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4044, allocations: 4 kB / 423.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4044, allocations: 7.984 kB / 423.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.4047, allocations: 32.03 kB / 423.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.4052, allocations: 90.16 kB / 423.3 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002784/0.4054, allocations: 0.5504 MB / 423.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4057, allocations: 19.95 kB / 423.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.4058, allocations: 21.08 kB / 423.9 MB, free: 15.8 MB / 334.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.0001256/0.4059, allocations: 142.3 kB / 424 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.406, allocations: 19.75 kB / 424.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.4082, allocations: 1.449 MB / 425.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4082, allocations: 17.69 kB / 425.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4082, allocations: 4 kB / 425.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.4082, allocations: 3.984 kB / 425.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4111, allocations: 1.975 MB / 427.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.4111, allocations: 0 / 427.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.4116, allocations: 79.58 kB / 427.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.4119, allocations: 68.05 kB / 427.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.4119, allocations: 22.55 kB / 427.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000338/0.4123, allocations: 0.5871 MB / 428.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4123, allocations: 7.5 kB / 428.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.4146, allocations: 1.681 MB / 429.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.4147, allocations: 136.2 kB / 430.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4148, allocations: 12.31 kB / 430.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4151, allocations: 26.06 kB / 430.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.4152, allocations: 31.39 kB / 430.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.4152, allocations: 19.67 kB / 430.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.613e-05/0.4153, allocations: 94.58 kB / 430.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4153, allocations: 0 / 430.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002756/0.418, allocations: 0.9551 MB / 431.2 MB, free: 10.24 MB / 334.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.00631/0.4244, allocations: 3.268 MB / 434.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.426, allocations: 0.6348 MB / 435.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.426, allocations: 0 / 435.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.4268, allocations: 0.5072 MB / 435.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.4277, allocations: 83.58 kB / 435.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.4345, allocations: 3.875 MB / 439.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4348, allocations: 0.8216 MB / 440.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.4353, allocations: 144.2 kB / 440.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.4355, allocations: 135.4 kB / 440.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4355, allocations: 1.75 kB / 440.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/0.5606, allocations: 40.53 MB / 481.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.4, allocations: 11.83 kB / 481.2 MB, free: 8.621 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_WaterIF97_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_WaterIF97.fmu > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches