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.00639/0.00639, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001577/0.001577, allocations: 189.6 kB / 16.78 MB, free: 6.238 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.506/1.506, allocations: 205.1 MB / 222.6 MB, free: 4.953 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.3378/0.3378, allocations: 43.49 MB / 313.5 MB, free: 8.43 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.001378/0.001379, allocations: 71.89 kB / 382.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 57.78 MB / 439.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0166/0.145, allocations: 14.64 MB / 454.6 MB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2583/0.4034, allocations: 28.31 MB / 482.9 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.4036, allocations: 3.094 kB / 482.9 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.4042, allocations: 85.11 kB / 483 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02116/0.4253, allocations: 6.817 MB / 489.8 MB, free: 23.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.4261, allocations: 321.9 kB / 490.1 MB, free: 23.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.4302, allocations: 2.037 MB / 492.1 MB, free: 22.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.4302, allocations: 21.16 kB / 492.1 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.4307, allocations: 262.6 kB / 492.4 MB, free: 22.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00635/0.4371, allocations: 3.269 MB / 495.7 MB, free: 20.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.4372, allocations: 9.219 kB / 495.7 MB, free: 20.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02524/0.4624, allocations: 10.71 MB / 0.4945 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.4626, allocations: 55.38 kB / 0.4946 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.463, allocations: 137.8 kB / 0.4947 GB, free: 17.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0229/0.4859, allocations: 6.331 MB / 0.5009 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.486, allocations: 0 / 0.5009 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.486, allocations: 0 / 0.5009 GB, free: 14.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.486, allocations: 1.594 kB / 0.5009 GB, free: 14.07 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.006831/0.4928, allocations: 1.545 MB / 0.5024 GB, free: 13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4929, allocations: 17.55 kB / 0.5024 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.493, allocations: 65.55 kB / 0.5025 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.4946, allocations: 227.2 kB / 0.5027 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.4949, allocations: 277.2 kB / 0.503 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.495, allocations: 26.28 kB / 0.503 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.495, allocations: 31 kB / 0.503 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.4973, allocations: 0.8172 MB / 0.5038 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4974, allocations: 5.016 kB / 0.5038 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.4974, allocations: 15.78 kB / 0.5038 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4974, allocations: 9.094 kB / 0.5038 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.4998, allocations: 0.938 MB / 0.5048 GB, free: 11.54 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.002855/0.5027, allocations: 2.581 MB / 0.5073 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.504, allocations: 380.4 kB / 0.5076 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5042, allocations: 85.62 kB / 0.5077 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7295/1.234, allocations: 224.9 MB / 0.7273 GB, free: 102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/1.235, allocations: 481.2 kB / 0.7278 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/1.235, allocations: 0 / 0.7278 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00278/1.238, allocations: 0.7799 MB / 0.7286 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/1.238, allocations: 374.9 kB / 0.7289 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.238, allocations: 192.5 kB / 0.7291 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.238, allocations: 37.64 kB / 0.7291 GB, free: 100 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/1.238, allocations: 179.5 kB / 0.7293 GB, free: 99.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/1.238, allocations: 113.9 kB / 0.7294 GB, free: 99.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.238, allocations: 126.1 kB / 0.7295 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/1.239, allocations: 337.8 kB / 0.7299 GB, free: 99.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.239, allocations: 85.06 kB / 0.73 GB, free: 99.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/1.239, allocations: 340.9 kB / 0.7303 GB, free: 98.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/1.24, allocations: 479.6 kB / 0.7307 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.24, allocations: 1.125 kB / 0.7307 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007903/1.24, allocations: 471.4 kB / 0.7312 GB, free: 97.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.24, allocations: 12 kB / 0.7312 GB, free: 97.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.24, allocations: 8 kB / 0.7312 GB, free: 97.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.24, allocations: 12 kB / 0.7312 GB, free: 97.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/1.241, allocations: 142.9 kB / 0.7314 GB, free: 97.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/1.241, allocations: 15.75 kB / 0.7314 GB, free: 97.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/1.241, allocations: 64.23 kB / 0.7314 GB, free: 97.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/1.241, allocations: 36.23 kB / 0.7315 GB, free: 97.5 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.0001504/1.242, allocations: 163.7 kB / 0.7316 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/1.242, allocations: 30.23 kB / 0.7316 GB, free: 97.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/1.244, allocations: 2.61 MB / 0.7342 GB, free: 94.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.244, allocations: 19.97 kB / 0.7342 GB, free: 94.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.244, allocations: 4 kB / 0.7342 GB, free: 94.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.244, allocations: 7.938 kB / 0.7342 GB, free: 94.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/1.244, allocations: 0.9349 MB / 0.7351 GB, free: 93.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.244, allocations: 3.5 kB / 0.7351 GB, free: 93.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.245, allocations: 79.77 kB / 0.7352 GB, free: 93.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.245, allocations: 5.219 kB / 0.7352 GB, free: 93.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.245, allocations: 8 kB / 0.7352 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.245, allocations: 8.562 kB / 0.7352 GB, free: 93.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.245, allocations: 5.875 kB / 0.7352 GB, free: 93.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/1.246, allocations: 0.6977 MB / 0.7359 GB, free: 92.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/1.246, allocations: 124.5 kB / 0.736 GB, free: 92.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.246, allocations: 114.5 kB / 0.7362 GB, free: 92.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.246, allocations: 15.98 kB / 0.7362 GB, free: 92.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/1.246, allocations: 34.53 kB / 0.7362 GB, free: 92.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.246, allocations: 16 kB / 0.7362 GB, free: 92.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004914/1.247, allocations: 0.5001 MB / 0.7367 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.247, allocations: 0 / 0.7367 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005948/1.253, allocations: 1.505 MB / 0.7382 GB, free: 90.67 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.01058/1.263, allocations: 2.873 MB / 0.741 GB, free: 87.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008704/1.264, allocations: 416.3 kB / 0.7414 GB, free: 87.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.264, allocations: 4.062 kB / 0.7414 GB, free: 87.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/1.264, allocations: 277.3 kB / 0.7416 GB, free: 87.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/1.265, allocations: 133.2 kB / 0.7418 GB, free: 87.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.275/2.54, allocations: 0.6052 GB / 1.347 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/2.541, allocations: 0.9856 MB / 1.348 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007569/2.541, allocations: 0.5233 MB / 1.348 GB, free: 29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/2.542, allocations: 335.3 kB / 1.349 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/2.542, allocations: 0 / 1.349 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2747/2.816, allocations: 63.02 MB / 1.41 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/2.817, allocations: 226 kB / 1.41 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.681/8.498, allocations: 8.188 kB / 1.41 GB, free: 143.5 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