Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 106.8 kB / 17.21 MB, free: 6.27 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.001202/0.001202, allocations: 194 kB / 18.12 MB, free: 5.363 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.16 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.83 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01918/0.156, allocations: 14.63 MB / 483.3 MB, free: 60 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03282/0.1888, allocations: 28.31 MB / 0.4996 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.1892, allocations: 4 kB / 0.4996 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.1897, allocations: 87.56 kB / 0.4997 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2789/0.4687, allocations: 6.828 MB / 0.5063 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.47, allocations: 313.9 kB / 0.5066 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.4755, allocations: 2.034 MB / 0.5086 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.4756, allocations: 19.5 kB / 0.5086 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.4762, allocations: 261.5 kB / 0.5089 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0078/0.484, allocations: 3.264 MB / 0.5121 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.4842, allocations: 12.5 kB / 0.5121 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02498/0.5092, allocations: 10.73 MB / 0.5226 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.5094, allocations: 53.77 kB / 0.5226 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.5098, allocations: 142.3 kB / 0.5228 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02071/0.5305, allocations: 6.337 MB / 0.5289 GB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5305, allocations: 0 / 0.5289 GB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5306, allocations: 3.125 kB / 0.5289 GB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.5306, allocations: 0 / 0.5289 GB, free: 9.609 MB / 382.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.005688/0.5363, allocations: 1.563 MB / 0.5305 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5363, allocations: 9.719 kB / 0.5305 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.5364, allocations: 70.31 kB / 0.5305 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.5381, allocations: 220.3 kB / 0.5308 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.5384, allocations: 273.6 kB / 0.531 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.5384, allocations: 30.78 kB / 0.531 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.5385, allocations: 32.22 kB / 0.5311 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.5407, allocations: 0.8216 MB / 0.5319 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.5407, allocations: 0 / 0.5319 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.5408, allocations: 15.22 kB / 0.5319 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5408, allocations: 7.5 kB / 0.5319 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.5431, allocations: 0.9388 MB / 0.5328 GB, free: 7.562 MB / 382.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.002695/0.5458, allocations: 2.573 MB / 0.5353 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5471, allocations: 382.8 kB / 0.5357 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5473, allocations: 80.45 kB / 0.5358 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7988/1.346, allocations: 225 MB / 0.7555 GB, free: 176.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/1.348, allocations: 474.6 kB / 0.7559 GB, free: 176.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.928e-06/1.348, allocations: 0 / 0.7559 GB, free: 176.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003177/1.351, allocations: 0.7785 MB / 0.7567 GB, free: 175.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/1.351, allocations: 372.2 kB / 0.757 GB, free: 175.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/1.351, allocations: 189.5 kB / 0.7572 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.351, allocations: 29.7 kB / 0.7572 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/1.351, allocations: 200 kB / 0.7574 GB, free: 174.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/1.351, allocations: 106.5 kB / 0.7575 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.351, allocations: 126.1 kB / 0.7577 GB, free: 174.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/1.352, allocations: 330.6 kB / 0.758 GB, free: 174.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.352, allocations: 85.06 kB / 0.7581 GB, free: 174.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/1.352, allocations: 340.5 kB / 0.7584 GB, free: 173.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/1.353, allocations: 494.2 kB / 0.7589 GB, free: 173 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.353, allocations: 4 kB / 0.7589 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008835/1.354, allocations: 467.7 kB / 0.7593 GB, free: 172.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.354, allocations: 8.188 kB / 0.7593 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.354, allocations: 16 kB / 0.7593 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.354, allocations: 12 kB / 0.7593 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/1.354, allocations: 139.8 kB / 0.7595 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.354, allocations: 19.92 kB / 0.7595 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/1.354, allocations: 53.83 kB / 0.7595 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.355, allocations: 43.92 kB / 0.7596 GB, free: 172.3 MB / 0.545 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.0001715/1.355, allocations: 169.2 kB / 0.7597 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.355, allocations: 27.72 kB / 0.7598 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/1.357, allocations: 2.608 MB / 0.7623 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.357, allocations: 15.98 kB / 0.7623 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.357, allocations: 4 kB / 0.7623 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.357, allocations: 7.984 kB / 0.7623 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/1.358, allocations: 0.9256 MB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.358, allocations: 4 kB / 0.7632 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/1.358, allocations: 83.8 kB / 0.7633 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.358, allocations: 4 kB / 0.7633 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/1.359, allocations: 12.22 kB / 0.7633 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.359, allocations: 15.83 kB / 0.7634 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.359, allocations: 3.938 kB / 0.7634 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.36, allocations: 0.6965 MB / 0.764 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/1.36, allocations: 130.9 kB / 0.7642 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/1.36, allocations: 106.5 kB / 0.7643 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/1.36, allocations: 19.98 kB / 0.7643 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.36, allocations: 35.7 kB / 0.7643 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.36, allocations: 15.98 kB / 0.7643 GB, free: 167.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006789/1.361, allocations: 0.504 MB / 0.7648 GB, free: 166.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.361, allocations: 0 / 0.7648 GB, free: 166.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006344/1.368, allocations: 1.508 MB / 0.7663 GB, free: 165.4 MB / 0.545 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.01118/1.379, allocations: 2.865 MB / 0.7691 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.38, allocations: 412.8 kB / 0.7695 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.38, allocations: 0 / 0.7695 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/1.38, allocations: 279.4 kB / 0.7698 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.381, allocations: 135.8 kB / 0.7699 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.427/2.808, allocations: 0.6057 GB / 1.376 GB, free: 123.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/2.808, allocations: 0.9895 MB / 1.377 GB, free: 122.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006621/2.809, allocations: 0.5217 MB / 1.377 GB, free: 121.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/2.809, allocations: 339.2 kB / 1.377 GB, free: 121.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/2.809, allocations: 0 / 1.377 GB, free: 121.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/2.885, allocations: 63.07 MB / 1.439 GB, free: 58.52 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/2.885, allocations: 218.7 kB / 1.439 GB, free: 58.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.871/8.756, allocations: 2.812 kB / 1.439 GB, free: 58.27 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches