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.001069/0.001069, allocations: 103.8 kB / 16.27 MB, free: 5.973 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.001111/0.001111, allocations: 188.3 kB / 17.19 MB, free: 5.605 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.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.2088/0.2088, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001422/0.001423, allocations: 68.61 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09616, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01373/0.1099, allocations: 13.82 MB / 454.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.14, allocations: 26.58 MB / 481 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.1404, allocations: 3.938 kB / 481 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.141, allocations: 91.41 kB / 481.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02644/0.1674, allocations: 8.522 MB / 489.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1687, allocations: 342.9 kB / 490 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.1737, allocations: 2.006 MB / 492 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1739, allocations: 24.41 kB / 492 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.1747, allocations: 262.8 kB / 492.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00766/0.1824, allocations: 3.262 MB / 495.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1825, allocations: 12 kB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02209/0.2046, allocations: 10.55 MB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2048, allocations: 47.81 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.2051, allocations: 135.3 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.2227, allocations: 6.32 MB / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2227, allocations: 4 kB / 0.5006 GB, free: 14.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.2228, allocations: 0 / 0.5006 GB, free: 14.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2228, allocations: 3.938 kB / 0.5006 GB, free: 14.58 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.005443/0.2282, allocations: 1.548 MB / 0.5021 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2283, allocations: 11.89 kB / 0.5021 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.2284, allocations: 70.72 kB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.2302, allocations: 224.4 kB / 0.5024 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.2306, allocations: 271.9 kB / 0.5026 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.2306, allocations: 25.03 kB / 0.5027 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.2307, allocations: 31.94 kB / 0.5027 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.2331, allocations: 0.8288 MB / 0.5035 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2331, allocations: 8 kB / 0.5035 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.2332, allocations: 12 kB / 0.5035 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.2332, allocations: 8 kB / 0.5035 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.2357, allocations: 0.9347 MB / 0.5044 GB, free: 10.47 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.003598/0.2393, allocations: 2.581 MB / 0.507 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2408, allocations: 378.2 kB / 0.5073 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.241, allocations: 76.83 kB / 0.5074 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9858/1.227, allocations: 224.9 MB / 0.727 GB, free: 179.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/1.228, allocations: 471.9 kB / 0.7275 GB, free: 179.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/1.228, allocations: 4 kB / 0.7275 GB, free: 179.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003297/1.232, allocations: 0.7808 MB / 0.7282 GB, free: 179.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.232, allocations: 378.9 kB / 0.7286 GB, free: 179 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/1.232, allocations: 184.7 kB / 0.7288 GB, free: 178.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.232, allocations: 35.78 kB / 0.7288 GB, free: 178.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/1.232, allocations: 177.5 kB / 0.729 GB, free: 178.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/1.232, allocations: 117.7 kB / 0.7291 GB, free: 178.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.232, allocations: 124.1 kB / 0.7292 GB, free: 178.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/1.232, allocations: 332.2 kB / 0.7295 GB, free: 178.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.233, allocations: 78.91 kB / 0.7296 GB, free: 178.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/1.233, allocations: 345.2 kB / 0.7299 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/1.234, allocations: 484.8 kB / 0.7304 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.234, allocations: 2.156 kB / 0.7304 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009934/1.235, allocations: 475.3 kB / 0.7309 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.235, allocations: 8.906 kB / 0.7309 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.235, allocations: 8.594 kB / 0.7309 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/1.235, allocations: 12.22 kB / 0.7309 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/1.235, allocations: 143.4 kB / 0.731 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/1.235, allocations: 20.48 kB / 0.731 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/1.236, allocations: 54.19 kB / 0.7311 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/1.236, allocations: 48.08 kB / 0.7311 GB, free: 177.2 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.0001659/1.236, allocations: 168.1 kB / 0.7313 GB, free: 177.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/1.236, allocations: 31.3 kB / 0.7313 GB, free: 177.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.238, allocations: 2.606 MB / 0.7339 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.238, allocations: 19.64 kB / 0.7339 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.238, allocations: 3.906 kB / 0.7339 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.238, allocations: 7.828 kB / 0.7339 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/1.239, allocations: 0.9271 MB / 0.7348 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.239, allocations: 4.344 kB / 0.7348 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/1.239, allocations: 83.23 kB / 0.7349 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.239, allocations: 3.938 kB / 0.7349 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.24, allocations: 7.75 kB / 0.7349 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/1.24, allocations: 15.52 kB / 0.7349 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.24, allocations: 3.938 kB / 0.7349 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/1.24, allocations: 0.6942 MB / 0.7356 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/1.241, allocations: 128.3 kB / 0.7357 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.241, allocations: 102.2 kB / 0.7358 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/1.241, allocations: 28.31 kB / 0.7358 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/1.241, allocations: 23.78 kB / 0.7359 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/1.241, allocations: 19.7 kB / 0.7359 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005366/1.242, allocations: 0.5046 MB / 0.7364 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.242, allocations: 0 / 0.7364 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003905/1.246, allocations: 1.507 MB / 0.7379 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.008019/1.254, allocations: 2.856 MB / 0.7406 GB, free: 173.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009429/1.255, allocations: 439.8 kB / 0.7411 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.255, allocations: 0 / 0.7411 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/1.255, allocations: 282.9 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.0008754/1.256, allocations: 133.5 kB / 0.7415 GB, free: 172.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.336/2.592, allocations: 0.6049 GB / 1.346 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/2.592, allocations: 0.9866 MB / 1.347 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007812/2.593, allocations: 0.5246 MB / 1.348 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/2.593, allocations: 335.3 kB / 1.348 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/2.593, allocations: 0 / 1.348 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09357/2.687, allocations: 63.43 MB / 1.41 GB, free: 45.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/14.45, allocations: 7.812 kB / 1.41 GB, free: 45.36 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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