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.001212/0.001212, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001534, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 80.7 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01664/0.1458, allocations: 14.05 MB / 493.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2691/0.4149, allocations: 26.66 MB / 0.5081 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.4154, allocations: 1.25 kB / 0.5081 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.4161, allocations: 84.77 kB / 0.5082 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0415/0.4577, allocations: 7.548 MB / 0.5156 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.4592, allocations: 323 kB / 0.5159 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005977/0.4652, allocations: 2.005 MB / 0.5178 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.4653, allocations: 16.59 kB / 0.5179 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.4662, allocations: 269.2 kB / 0.5181 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00976/0.476, allocations: 3.267 MB / 0.5213 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.4761, allocations: 10.84 kB / 0.5213 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02558/0.5017, allocations: 10.7 MB / 0.5318 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.502, allocations: 55.45 kB / 0.5318 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.5026, allocations: 139.9 kB / 0.5319 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/0.523, allocations: 6.367 MB / 0.5382 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.523, allocations: 3.656 kB / 0.5382 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.523, allocations: 0 / 0.5382 GB, free: 2.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.5231, allocations: 2.969 kB / 0.5382 GB, free: 2.957 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.004941/0.528, allocations: 1.561 MB / 0.5397 GB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5281, allocations: 8.031 kB / 0.5397 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.348e-05/0.5281, allocations: 70.72 kB / 0.5398 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.5299, allocations: 216.4 kB / 0.54 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.5302, allocations: 283.9 kB / 0.5402 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.5302, allocations: 21.22 kB / 0.5403 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.5303, allocations: 35.94 kB / 0.5403 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.5327, allocations: 0.8172 MB / 0.5411 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5327, allocations: 3.938 kB / 0.5411 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.5328, allocations: 15.98 kB / 0.5411 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5328, allocations: 8 kB / 0.5411 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.5353, allocations: 0.9348 MB / 0.542 GB, free: 15.32 MB / 398.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.00348/0.5388, allocations: 2.581 MB / 0.5446 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5404, allocations: 375.3 kB / 0.5449 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.5405, allocations: 84.75 kB / 0.545 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8517/1.392, allocations: 238.7 MB / 0.7781 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/1.394, allocations: 483.6 kB / 0.7786 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.257e-06/1.394, allocations: 7.703 kB / 0.7786 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002959/1.397, allocations: 0.7807 MB / 0.7793 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/1.397, allocations: 372 kB / 0.7797 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.397, allocations: 178.7 kB / 0.7799 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.397, allocations: 33.7 kB / 0.7799 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/1.397, allocations: 187.4 kB / 0.7801 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/1.397, allocations: 108.6 kB / 0.7802 GB, free: 172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.397, allocations: 122.1 kB / 0.7803 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/1.397, allocations: 342.6 kB / 0.7806 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/1.398, allocations: 77.06 kB / 0.7807 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/1.398, allocations: 348.6 kB / 0.781 GB, free: 171 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/1.399, allocations: 478.5 kB / 0.7815 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.399, allocations: 4 kB / 0.7815 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007993/1.399, allocations: 474.7 kB / 0.7819 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.399, allocations: 14.19 kB / 0.7819 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.399, allocations: 8 kB / 0.782 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.399, allocations: 12 kB / 0.782 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/1.4, allocations: 139.8 kB / 0.7821 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.4, allocations: 15.94 kB / 0.7821 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/1.4, allocations: 59.88 kB / 0.7822 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/1.4, allocations: 47.91 kB / 0.7822 GB, free: 169.6 MB / 0.5606 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.0001493/1.4, allocations: 161.6 kB / 0.7824 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/1.401, allocations: 31.7 kB / 0.7824 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/1.403, allocations: 2.608 MB / 0.7849 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.403, allocations: 19.97 kB / 0.785 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.403, allocations: 4 kB / 0.785 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.403, allocations: 4 kB / 0.785 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/1.403, allocations: 0.9352 MB / 0.7859 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/1.403, allocations: 4 kB / 0.7859 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/1.404, allocations: 79.86 kB / 0.786 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.404, allocations: 4 kB / 0.786 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.404, allocations: 12 kB / 0.786 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.404, allocations: 4 kB / 0.786 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.404, allocations: 7.938 kB / 0.786 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/1.405, allocations: 0.7019 MB / 0.7867 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.405, allocations: 120.5 kB / 0.7868 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.405, allocations: 110.5 kB / 0.7869 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.405, allocations: 19.98 kB / 0.7869 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/1.405, allocations: 39.84 kB / 0.787 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/1.405, allocations: 12 kB / 0.787 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004766/1.406, allocations: 0.5001 MB / 0.7875 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.406, allocations: 0 / 0.7875 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005013/1.411, allocations: 1.513 MB / 0.7889 GB, free: 162.8 MB / 0.5606 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.008452/1.419, allocations: 2.881 MB / 0.7917 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008826/1.42, allocations: 430.3 kB / 0.7922 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.42, allocations: 0 / 0.7922 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/1.42, allocations: 280.7 kB / 0.7924 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/1.421, allocations: 130.3 kB / 0.7925 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.505/2.926, allocations: 0.6075 GB / 1.4 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/2.927, allocations: 0.9856 MB / 1.401 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007925/2.927, allocations: 0.521 MB / 1.402 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/2.928, allocations: 339.3 kB / 1.402 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/2.928, allocations: 4 kB / 1.402 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08944/3.017, allocations: 63.55 MB / 1.464 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/3.017, allocations: 229.4 kB / 1.464 GB, free: 69.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.279/9.296, allocations: 0 / 1.464 GB, free: 69.81 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches