Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, 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.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 79.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2962, allocations: 62.44 MB / 0.5306 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01927/0.3155, allocations: 13.93 MB / 0.5442 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0324/0.348, allocations: 26.59 MB / 0.5702 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.3483, allocations: 11.94 kB / 0.5702 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.3488, allocations: 95.45 kB / 0.5703 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02552/0.3743, allocations: 8.526 MB / 0.5786 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.3753, allocations: 350 kB / 0.579 GB, free: 228 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006231/0.3815, allocations: 2.002 MB / 0.5809 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.3816, allocations: 20.34 kB / 0.5809 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.3822, allocations: 274.8 kB / 0.5812 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007222/0.3894, allocations: 3.266 MB / 0.5844 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.3895, allocations: 12 kB / 0.5844 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02381/0.4133, allocations: 10.83 MB / 0.595 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.4135, allocations: 51.75 kB / 0.595 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.4138, allocations: 139.3 kB / 0.5952 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.4316, allocations: 6.333 MB / 0.6013 GB, free: 9.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4316, allocations: 0 / 0.6013 GB, free: 9.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4317, allocations: 0 / 0.6013 GB, free: 9.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4317, allocations: 0 / 0.6013 GB, free: 9.199 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004826/0.4365, allocations: 1.616 MB / 0.6029 GB, free: 7.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4366, allocations: 8.031 kB / 0.6029 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.339e-05/0.4366, allocations: 74.7 kB / 0.603 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.4384, allocations: 224.5 kB / 0.6032 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4388, allocations: 271.9 kB / 0.6035 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.4388, allocations: 25.03 kB / 0.6035 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.4389, allocations: 39.92 kB / 0.6035 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.4414, allocations: 0.821 MB / 0.6043 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4414, allocations: 0 / 0.6043 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.4414, allocations: 12 kB / 0.6044 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4415, allocations: 8 kB / 0.6044 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.444, allocations: 0.9386 MB / 0.6053 GB, free: 5.027 MB / 462.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.00347/0.4475, allocations: 2.574 MB / 0.6078 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4489, allocations: 382.2 kB / 0.6082 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.4491, allocations: 72.83 kB / 0.6082 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8452/1.294, allocations: 241.3 MB / 0.8438 GB, free: 72.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.296, allocations: 473 kB / 0.8443 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.474e-06/1.296, allocations: 0 / 0.8443 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002803/1.298, allocations: 0.7857 MB / 0.8451 GB, free: 71.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.299, allocations: 383.9 kB / 0.8454 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.299, allocations: 177.5 kB / 0.8456 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.299, allocations: 29.7 kB / 0.8456 GB, free: 70.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/1.299, allocations: 189.5 kB / 0.8458 GB, free: 70.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/1.299, allocations: 118.5 kB / 0.8459 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.299, allocations: 126.2 kB / 0.846 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.171e-05/1.299, allocations: 329.1 kB / 0.8463 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.299, allocations: 90.48 kB / 0.8464 GB, free: 69.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/1.299, allocations: 344.5 kB / 0.8468 GB, free: 69.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/1.3, allocations: 478.6 kB / 0.8472 GB, free: 68.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.3, allocations: 4 kB / 0.8472 GB, free: 68.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007646/1.301, allocations: 476.5 kB / 0.8477 GB, free: 68.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.301, allocations: 8 kB / 0.8477 GB, free: 68.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.301, allocations: 11.84 kB / 0.8477 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.301, allocations: 19.92 kB / 0.8477 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/1.301, allocations: 141.9 kB / 0.8478 GB, free: 67.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.301, allocations: 19.92 kB / 0.8479 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.301, allocations: 45.28 kB / 0.8479 GB, free: 67.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/1.302, allocations: 47.97 kB / 0.848 GB, free: 67.83 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001193/1.302, allocations: 164.5 kB / 0.8481 GB, free: 67.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/1.302, allocations: 27.86 kB / 0.8481 GB, free: 67.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/1.304, allocations: 2.612 MB / 0.8507 GB, free: 65.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.304, allocations: 15.98 kB / 0.8507 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.304, allocations: 7.984 kB / 0.8507 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/1.304, allocations: 384 / 0.8507 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/1.304, allocations: 0.9372 MB / 0.8516 GB, free: 64.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.304, allocations: 4 kB / 0.8516 GB, free: 64.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/1.305, allocations: 67.88 kB / 0.8517 GB, free: 64.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/1.305, allocations: 4 kB / 0.8517 GB, free: 64.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.305, allocations: 23.92 kB / 0.8517 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/1.305, allocations: 7.938 kB / 0.8517 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.305, allocations: 7.938 kB / 0.8517 GB, free: 63.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007605/1.306, allocations: 0.7048 MB / 0.8524 GB, free: 63.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/1.306, allocations: 132.6 kB / 0.8526 GB, free: 63.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.306, allocations: 110.9 kB / 0.8527 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/1.306, allocations: 15.98 kB / 0.8527 GB, free: 62.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/1.306, allocations: 31.97 kB / 0.8527 GB, free: 62.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/1.306, allocations: 23.64 kB / 0.8527 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004756/1.307, allocations: 0.5001 MB / 0.8532 GB, free: 62.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.307, allocations: 0 / 0.8532 GB, free: 62.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003441/1.31, allocations: 1.524 MB / 0.8547 GB, free: 60.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007306/1.317, allocations: 2.896 MB / 0.8575 GB, free: 58.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007646/1.318, allocations: 416.4 kB / 0.8579 GB, free: 57.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.318, allocations: 4 kB / 0.8579 GB, free: 57.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/1.318, allocations: 276.7 kB / 0.8582 GB, free: 57.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/1.319, allocations: 132.4 kB / 0.8583 GB, free: 57.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.451/2.77, allocations: 0.6073 GB / 1.466 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/2.77, allocations: 0.9817 MB / 1.467 GB, free: 200.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005982/2.771, allocations: 0.5208 MB / 1.467 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/2.771, allocations: 339.3 kB / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.673e-06/2.771, allocations: 0 / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/2.917, allocations: 63.5 MB / 1.529 GB, free: 135.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/16.43, allocations: 5.5 kB / 1.529 GB, free: 135.9 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches