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.001165/0.001165, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001153/0.001153, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.308/1.308, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.00168/0.00168, allocations: 64.55 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08806, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01316/0.1013, allocations: 13.82 MB / 454.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.1292, allocations: 26.58 MB / 481 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1294, allocations: 4 kB / 481 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1298, allocations: 99.33 kB / 481.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02088/0.1507, allocations: 8.517 MB / 489.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.1516, allocations: 334.9 kB / 490 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.1555, allocations: 2.002 MB / 492 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.1556, allocations: 28.39 kB / 492 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.156, allocations: 262.8 kB / 492.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.1621, allocations: 3.27 MB / 495.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.1621, allocations: 8 kB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.1786, allocations: 10.54 MB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.1787, allocations: 55.75 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1788, allocations: 143.3 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009872/0.1887, allocations: 6.316 MB / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1888, allocations: 0 / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1888, allocations: 0 / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1888, allocations: 0 / 0.5006 GB, free: 14.59 MB / 398.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.003268/0.192, allocations: 1.552 MB / 0.5021 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1921, allocations: 11.89 kB / 0.5021 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.1922, allocations: 70.72 kB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.1937, allocations: 220.4 kB / 0.5024 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.194, allocations: 275.9 kB / 0.5026 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.194, allocations: 29.02 kB / 0.5027 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.1941, allocations: 31.94 kB / 0.5027 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.1962, allocations: 0.8288 MB / 0.5035 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1962, allocations: 0 / 0.5035 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.1962, allocations: 16 kB / 0.5035 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1963, allocations: 11.98 kB / 0.5035 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.1985, allocations: 0.9308 MB / 0.5044 GB, free: 10.48 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.002819/0.2013, allocations: 2.573 MB / 0.507 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2026, allocations: 386.1 kB / 0.5073 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2028, allocations: 76.81 kB / 0.5074 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9314/1.134, allocations: 224.9 MB / 0.727 GB, free: 179.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/1.136, allocations: 478.2 kB / 0.7275 GB, free: 179.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.886e-06/1.136, allocations: 0 / 0.7275 GB, free: 179.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003343/1.139, allocations: 0.7782 MB / 0.7282 GB, free: 179.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/1.139, allocations: 374.3 kB / 0.7286 GB, free: 179 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.139, allocations: 186.5 kB / 0.7288 GB, free: 178.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.139, allocations: 34.67 kB / 0.7288 GB, free: 178.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/1.139, allocations: 186.6 kB / 0.729 GB, free: 178.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/1.14, allocations: 107.5 kB / 0.7291 GB, free: 178.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.14, allocations: 129.5 kB / 0.7292 GB, free: 178.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/1.14, allocations: 330.2 kB / 0.7295 GB, free: 178.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/1.14, allocations: 80.81 kB / 0.7296 GB, free: 178.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/1.14, allocations: 341.3 kB / 0.7299 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/1.141, allocations: 480.8 kB / 0.7304 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.141, allocations: 2.938 kB / 0.7304 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009288/1.142, allocations: 476.4 kB / 0.7309 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.142, allocations: 8.656 kB / 0.7309 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.142, allocations: 9.375 kB / 0.7309 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.142, allocations: 13.58 kB / 0.7309 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/1.142, allocations: 149.8 kB / 0.731 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.142, allocations: 15.53 kB / 0.731 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.143, allocations: 56.16 kB / 0.7311 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/1.143, allocations: 50.2 kB / 0.7311 GB, free: 177.3 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.0001444/1.143, allocations: 161.7 kB / 0.7313 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/1.143, allocations: 30.45 kB / 0.7313 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/1.145, allocations: 2.605 MB / 0.7339 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.145, allocations: 23.84 kB / 0.7339 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.145, allocations: 3.938 kB / 0.7339 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.145, allocations: 3.969 kB / 0.7339 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/1.146, allocations: 0.9317 MB / 0.7348 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.146, allocations: 5.453 kB / 0.7348 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.146, allocations: 79.27 kB / 0.7349 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.146, allocations: 3.938 kB / 0.7349 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.146, allocations: 11.88 kB / 0.7349 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.146, allocations: 7.75 kB / 0.7349 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.146, allocations: 4.656 kB / 0.7349 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/1.147, allocations: 0.6977 MB / 0.7356 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/1.147, allocations: 124.2 kB / 0.7357 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.147, allocations: 106.1 kB / 0.7358 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.148, allocations: 23.75 kB / 0.7358 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/1.148, allocations: 27.81 kB / 0.7359 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/1.148, allocations: 19.06 kB / 0.7359 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004622/1.148, allocations: 0.5044 MB / 0.7364 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.148, allocations: 0 / 0.7364 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003678/1.152, allocations: 1.506 MB / 0.7378 GB, free: 174.5 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.007122/1.159, allocations: 2.863 MB / 0.7406 GB, free: 173.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008874/1.16, allocations: 434.2 kB / 0.7411 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.16, allocations: 12.12 kB / 0.7411 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/1.16, allocations: 270.8 kB / 0.7413 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/1.161, allocations: 141.7 kB / 0.7415 GB, free: 172.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.322/2.482, allocations: 0.6049 GB / 1.346 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/2.483, allocations: 0.9817 MB / 1.347 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007041/2.484, allocations: 0.5249 MB / 1.348 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/2.484, allocations: 343.3 kB / 1.348 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/2.484, allocations: 3.938 kB / 1.348 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/2.594, allocations: 63.42 MB / 1.41 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/14.49, allocations: 11.88 kB / 1.41 GB, free: 45.4 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches