Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_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.0009417/0.0009419, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.7 kB / 16.91 MB, free: 6.648 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.565/1.565, allocations: 205.4 MB / 223.1 MB, free: 5.242 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3715/0.3715, allocations: 43.57 MB / 315 MB, free: 9.176 MB / 254.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.0007813/0.0007811, allocations: 12 kB / 384.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1279, allocations: 58.85 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2686/0.3966, allocations: 14.13 MB / 457.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.421, allocations: 27.83 MB / 485.5 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.4213, allocations: 0 / 485.5 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.4216, allocations: 88.72 kB / 485.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02335/0.445, allocations: 6.813 MB / 492.4 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.446, allocations: 317.8 kB / 492.7 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.4493, allocations: 2.041 MB / 494.8 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.4494, allocations: 17.66 kB / 494.8 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.4498, allocations: 268.7 kB / 495 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/0.4552, allocations: 3.267 MB / 498.3 MB, free: 20 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.4553, allocations: 9.094 kB / 498.3 MB, free: 20 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0237/0.479, allocations: 10.71 MB / 0.4971 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4792, allocations: 57.64 kB / 0.4971 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.4796, allocations: 163.2 kB / 0.4973 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.4971, allocations: 6.299 MB / 0.5035 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4971, allocations: 3.984 kB / 0.5035 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4971, allocations: 0 / 0.5035 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4971, allocations: 0 / 0.5035 GB, free: 13.64 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.005598/0.5027, allocations: 1.485 MB / 0.5049 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5028, allocations: 10.03 kB / 0.5049 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.829e-05/0.5029, allocations: 68.66 kB / 0.505 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.5046, allocations: 231.8 kB / 0.5052 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.5048, allocations: 273.1 kB / 0.5055 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.5049, allocations: 26.47 kB / 0.5055 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.5049, allocations: 31.66 kB / 0.5055 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.5071, allocations: 0.8282 MB / 0.5063 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5072, allocations: 12.95 kB / 0.5063 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.5072, allocations: 16.06 kB / 0.5064 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5072, allocations: 8 kB / 0.5064 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.5098, allocations: 0.9412 MB / 0.5073 GB, free: 11.15 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.003044/0.5128, allocations: 2.59 MB / 0.5098 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5141, allocations: 375.7 kB / 0.5102 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.5143, allocations: 85.28 kB / 0.5103 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7976/1.312, allocations: 227.1 MB / 0.732 GB, free: 97.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/1.313, allocations: 474.6 kB / 0.7325 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 4.899e-06/1.314, allocations: 0.9844 kB / 0.7325 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003046/1.317, allocations: 0.7831 MB / 0.7332 GB, free: 96.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.317, allocations: 382.2 kB / 0.7336 GB, free: 96.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.317, allocations: 187.8 kB / 0.7338 GB, free: 96.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/1.317, allocations: 32.27 kB / 0.7338 GB, free: 96.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/1.317, allocations: 183.7 kB / 0.734 GB, free: 95.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/1.317, allocations: 110.2 kB / 0.7341 GB, free: 95.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/1.317, allocations: 45.7 kB / 0.7341 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/1.317, allocations: 337.6 kB / 0.7344 GB, free: 95.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.317, allocations: 81.06 kB / 0.7345 GB, free: 95.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.318, allocations: 344.6 kB / 0.7348 GB, free: 94.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/1.318, allocations: 482.4 kB / 0.7353 GB, free: 94.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.318, allocations: 0 / 0.7353 GB, free: 94.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007845/1.319, allocations: 469.8 kB / 0.7358 GB, free: 93.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.319, allocations: 12 kB / 0.7358 GB, free: 93.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.319, allocations: 8 kB / 0.7358 GB, free: 93.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.319, allocations: 12 kB / 0.7358 GB, free: 93.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/1.319, allocations: 143.7 kB / 0.7359 GB, free: 93.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.319, allocations: 23.86 kB / 0.7359 GB, free: 93.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/1.32, allocations: 55.97 kB / 0.736 GB, free: 93.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/1.32, allocations: 44.86 kB / 0.736 GB, free: 93.51 MB / 0.4981 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.0001567/1.32, allocations: 161.6 kB / 0.7362 GB, free: 93.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/1.32, allocations: 23.81 kB / 0.7362 GB, free: 93.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/1.322, allocations: 2.604 MB / 0.7388 GB, free: 90.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.322, allocations: 15.98 kB / 0.7388 GB, free: 90.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.323, allocations: 7.938 kB / 0.7388 GB, free: 90.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.323, allocations: 8.359 kB / 0.7388 GB, free: 90.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/1.324, allocations: 0.9354 MB / 0.7397 GB, free: 89.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.324, allocations: 0.6875 kB / 0.7397 GB, free: 89.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/1.324, allocations: 79.86 kB / 0.7398 GB, free: 89.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.324, allocations: 7.938 kB / 0.7398 GB, free: 89.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/1.324, allocations: 12 kB / 0.7398 GB, free: 89.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.324, allocations: 11.92 kB / 0.7398 GB, free: 89.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.324, allocations: 8.875 kB / 0.7398 GB, free: 89.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/1.325, allocations: 0.6922 MB / 0.7405 GB, free: 88.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/1.325, allocations: 382.7 kB / 0.7409 GB, free: 88.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/1.325, allocations: 12 kB / 0.7409 GB, free: 88.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/1.325, allocations: 15.98 kB / 0.7409 GB, free: 88.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/1.325, allocations: 43.83 kB / 0.7409 GB, free: 88.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/1.325, allocations: 16 kB / 0.7409 GB, free: 88.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004801/1.326, allocations: 0.504 MB / 0.7414 GB, free: 87.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.326, allocations: 0 / 0.7414 GB, free: 87.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005487/1.331, allocations: 1.502 MB / 0.7429 GB, free: 86.48 MB / 0.4981 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.01054/1.342, allocations: 2.865 MB / 0.7457 GB, free: 83.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.343, allocations: 411.9 kB / 0.7461 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.343, allocations: 7.875 kB / 0.7461 GB, free: 83.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005325/1.344, allocations: 280.7 kB / 0.7464 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.346, allocations: 126.4 kB / 0.7465 GB, free: 82.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.492/2.837, allocations: 0.6044 GB / 1.351 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/2.838, allocations: 0.9817 MB / 1.352 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007885/2.839, allocations: 0.5248 MB / 1.352 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/2.839, allocations: 339.3 kB / 1.353 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/2.839, allocations: 0 / 1.353 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/3.188, allocations: 62.91 MB / 1.414 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/3.188, allocations: 225.3 kB / 1.414 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.779/8.967, allocations: 3.562 kB / 1.414 GB, free: 140.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches