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.001145/0.001145, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 76.16 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01522/0.1233, allocations: 13.92 MB / 494.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2403/0.3636, allocations: 26.59 MB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.364, allocations: 3.156 kB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.3646, allocations: 94.56 kB / 0.5085 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02603/0.3906, allocations: 8.544 MB / 0.5169 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009133/0.3916, allocations: 344.2 kB / 0.5172 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.3959, allocations: 2.007 MB / 0.5192 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.868e-05/0.396, allocations: 20.78 kB / 0.5192 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.3964, allocations: 263.6 kB / 0.5194 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00662/0.4031, allocations: 3.262 MB / 0.5226 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.4032, allocations: 10.66 kB / 0.5226 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02269/0.4258, allocations: 10.58 MB / 0.533 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.426, allocations: 53.41 kB / 0.533 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.4263, allocations: 141.3 kB / 0.5331 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.4409, allocations: 6.335 MB / 0.5393 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.441, allocations: 4 kB / 0.5393 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.441, allocations: 0 / 0.5393 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.441, allocations: 2.938 kB / 0.5393 GB, free: 1.719 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.004786/0.4458, allocations: 1.558 MB / 0.5409 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4458, allocations: 11.44 kB / 0.5409 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.4459, allocations: 67.5 kB / 0.5409 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.4475, allocations: 224 kB / 0.5411 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.4478, allocations: 275.8 kB / 0.5414 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.4478, allocations: 23.23 kB / 0.5414 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.4479, allocations: 35.94 kB / 0.5415 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.4504, allocations: 0.8249 MB / 0.5423 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4505, allocations: 7.469 kB / 0.5423 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.4505, allocations: 12 kB / 0.5423 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4505, allocations: 8 kB / 0.5423 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.4532, allocations: 0.9386 MB / 0.5432 GB, free: 14.19 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.003369/0.4565, allocations: 2.574 MB / 0.5457 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.458, allocations: 381.4 kB / 0.5461 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4582, allocations: 72.83 kB / 0.5462 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7926/1.251, allocations: 238.7 MB / 0.7793 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/1.252, allocations: 467 kB / 0.7797 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/1.252, allocations: 3.562 kB / 0.7797 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002783/1.255, allocations: 0.7833 MB / 0.7805 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.255, allocations: 379.8 kB / 0.7809 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.255, allocations: 181.6 kB / 0.781 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.255, allocations: 37.7 kB / 0.7811 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/1.255, allocations: 181 kB / 0.7812 GB, free: 171 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/1.255, allocations: 113.6 kB / 0.7813 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.255, allocations: 122.1 kB / 0.7815 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/1.255, allocations: 330.6 kB / 0.7818 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/1.256, allocations: 89.05 kB / 0.7819 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.256, allocations: 347.5 kB / 0.7822 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/1.256, allocations: 480.2 kB / 0.7827 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.256, allocations: 8 kB / 0.7827 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007902/1.257, allocations: 469.3 kB / 0.7831 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.257, allocations: 8 kB / 0.7831 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.257, allocations: 12 kB / 0.7831 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.257, allocations: 16.03 kB / 0.7831 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/1.258, allocations: 139.8 kB / 0.7833 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.258, allocations: 19.92 kB / 0.7833 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/1.258, allocations: 51.47 kB / 0.7833 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/1.258, allocations: 50.31 kB / 0.7834 GB, free: 168.5 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.0001198/1.258, allocations: 157.6 kB / 0.7835 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/1.258, allocations: 27.72 kB / 0.7836 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/1.26, allocations: 2.61 MB / 0.7861 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.26, allocations: 19.98 kB / 0.7861 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.26, allocations: 4 kB / 0.7861 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.26, allocations: 7.984 kB / 0.7861 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/1.261, allocations: 0.935 MB / 0.7871 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.261, allocations: 4 kB / 0.7871 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/1.261, allocations: 75.81 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.261, allocations: 4 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.261, allocations: 15.98 kB / 0.7872 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.261, allocations: 4 kB / 0.7872 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.261, allocations: 4 kB / 0.7872 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/1.262, allocations: 0.7004 MB / 0.7878 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/1.262, allocations: 124.5 kB / 0.788 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.262, allocations: 110.3 kB / 0.7881 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/1.262, allocations: 15.98 kB / 0.7881 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/1.263, allocations: 35.84 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/1.263, allocations: 23.92 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004357/1.263, allocations: 0.5001 MB / 0.7886 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.263, allocations: 0 / 0.7886 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003416/1.266, allocations: 1.511 MB / 0.7901 GB, free: 161.6 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.005859/1.272, allocations: 2.876 MB / 0.7929 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007145/1.273, allocations: 431.5 kB / 0.7933 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.273, allocations: 0 / 0.7933 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.273, allocations: 274.1 kB / 0.7936 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/1.274, allocations: 136.8 kB / 0.7937 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.207/2.481, allocations: 0.6072 GB / 1.401 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/2.482, allocations: 0.9856 MB / 1.402 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006468/2.482, allocations: 0.5258 MB / 1.402 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/2.483, allocations: 339.3 kB / 1.403 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/2.483, allocations: 0 / 1.403 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08029/2.563, allocations: 63.59 MB / 1.465 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/13.64, allocations: 0 / 1.465 GB, free: 69.18 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