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.001335/0.001335, allocations: 104 kB / 15.98 MB, free: 6.348 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.001122/0.001122, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.426/1.426, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.323/0.323, allocations: 43.5 MB / 313.6 MB, free: 8.547 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.001965/0.001965, allocations: 63.91 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1136, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01727/0.1309, allocations: 13.95 MB / 454.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2074/0.3383, allocations: 26.67 MB / 480.7 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.3386, allocations: 4 kB / 480.7 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.339, allocations: 81.02 kB / 480.8 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01999/0.359, allocations: 7.512 MB / 488.3 MB, free: 23.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.3598, allocations: 327.7 kB / 488.6 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.3629, allocations: 2.002 MB / 490.6 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.3629, allocations: 17.69 kB / 490.7 MB, free: 22.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.3633, allocations: 267 kB / 490.9 MB, free: 22.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004545/0.3679, allocations: 3.265 MB / 494.2 MB, free: 20.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.3679, allocations: 16.12 kB / 494.2 MB, free: 20.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/0.3874, allocations: 10.67 MB / 0.493 GB, free: 18.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3875, allocations: 57.75 kB / 0.4931 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.3878, allocations: 136.7 kB / 0.4932 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.4058, allocations: 6.339 MB / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4059, allocations: 5 kB / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4059, allocations: 3.938 kB / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4059, allocations: 0 / 0.4994 GB, free: 15.02 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.005395/0.4113, allocations: 1.551 MB / 0.5009 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4114, allocations: 17.86 kB / 0.501 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.4114, allocations: 68.62 kB / 0.501 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.4131, allocations: 222.2 kB / 0.5012 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4134, allocations: 273.7 kB / 0.5015 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.4134, allocations: 26 kB / 0.5015 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.4135, allocations: 31.12 kB / 0.5015 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.4157, allocations: 0.8214 MB / 0.5023 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4158, allocations: 1.156 kB / 0.5023 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.4158, allocations: 15.53 kB / 0.5024 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4158, allocations: 9.031 kB / 0.5024 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.4182, allocations: 0.934 MB / 0.5033 GB, free: 12.49 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.002721/0.4209, allocations: 2.582 MB / 0.5058 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.4223, allocations: 383.6 kB / 0.5062 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4224, allocations: 81.73 kB / 0.5062 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8272/1.25, allocations: 224.9 MB / 0.7259 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/1.251, allocations: 477.6 kB / 0.7263 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 4.569e-06/1.251, allocations: 0 / 0.7263 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003169/1.255, allocations: 0.7753 MB / 0.7271 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.255, allocations: 379.7 kB / 0.7275 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.255, allocations: 187.6 kB / 0.7276 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/1.255, allocations: 33.7 kB / 0.7277 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/1.255, allocations: 186.7 kB / 0.7279 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/1.255, allocations: 113.9 kB / 0.728 GB, free: 101 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.255, allocations: 126.1 kB / 0.7281 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/1.255, allocations: 339 kB / 0.7284 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.256, allocations: 81.06 kB / 0.7285 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/1.256, allocations: 341.5 kB / 0.7288 GB, free: 99.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/1.257, allocations: 482.1 kB / 0.7293 GB, free: 99.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.257, allocations: 2.781 kB / 0.7293 GB, free: 99.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009218/1.258, allocations: 472.9 kB / 0.7297 GB, free: 99.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.258, allocations: 12 kB / 0.7297 GB, free: 99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.258, allocations: 8 kB / 0.7297 GB, free: 99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.258, allocations: 12 kB / 0.7298 GB, free: 98.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/1.258, allocations: 142.9 kB / 0.7299 GB, free: 98.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.258, allocations: 15.84 kB / 0.7299 GB, free: 98.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/1.259, allocations: 67.86 kB / 0.73 GB, free: 98.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/1.259, allocations: 35.98 kB / 0.73 GB, free: 98.74 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.0001691/1.259, allocations: 163.8 kB / 0.7302 GB, free: 98.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.259, allocations: 27.81 kB / 0.7302 GB, free: 98.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.261, allocations: 2.612 MB / 0.7327 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.261, allocations: 15.98 kB / 0.7328 GB, free: 95.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.261, allocations: 4 kB / 0.7328 GB, free: 95.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.261, allocations: 12.3 kB / 0.7328 GB, free: 95.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/1.262, allocations: 0.9388 MB / 0.7337 GB, free: 94.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.263, allocations: 0.8125 kB / 0.7337 GB, free: 94.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/1.263, allocations: 75.77 kB / 0.7338 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.263, allocations: 7.938 kB / 0.7338 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.263, allocations: 12 kB / 0.7338 GB, free: 94.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.263, allocations: 7.844 kB / 0.7338 GB, free: 94.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.263, allocations: 11.11 kB / 0.7338 GB, free: 94.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/1.264, allocations: 0.6925 MB / 0.7345 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.264, allocations: 128.4 kB / 0.7346 GB, free: 93.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.264, allocations: 110.5 kB / 0.7347 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.265, allocations: 15.98 kB / 0.7347 GB, free: 93.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/1.265, allocations: 35.56 kB / 0.7347 GB, free: 93.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/1.265, allocations: 19.98 kB / 0.7348 GB, free: 93.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004769/1.265, allocations: 0.4962 MB / 0.7353 GB, free: 93.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.265, allocations: 0 / 0.7353 GB, free: 93.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006881/1.272, allocations: 1.507 MB / 0.7367 GB, free: 91.91 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.01374/1.286, allocations: 2.865 MB / 0.7395 GB, free: 89.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001283/1.287, allocations: 433.5 kB / 0.7399 GB, free: 88.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.287, allocations: 4 kB / 0.7399 GB, free: 88.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/1.288, allocations: 280.3 kB / 0.7402 GB, free: 88.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.289, allocations: 133.1 kB / 0.7403 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.547/2.836, allocations: 0.6052 GB / 1.345 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/2.836, allocations: 0.9894 MB / 1.346 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007515/2.837, allocations: 0.5154 MB / 1.347 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/2.837, allocations: 339.3 kB / 1.347 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/2.837, allocations: 0 / 1.347 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3453/3.182, allocations: 63.38 MB / 1.409 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/3.183, allocations: 223.1 kB / 1.409 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.047/9.229, allocations: 0 / 1.409 GB, free: 146.9 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