Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001516/0.001516, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 85.41 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1741, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01983/0.194, allocations: 14.75 MB / 494.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3517/0.5457, allocations: 28.3 MB / 0.5102 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.546, allocations: 5.125 kB / 0.5102 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.5465, allocations: 81.98 kB / 0.5103 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02998/0.5765, allocations: 6.848 MB / 0.517 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.5777, allocations: 309.5 kB / 0.5173 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005236/0.583, allocations: 2.044 MB / 0.5193 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.5831, allocations: 17.33 kB / 0.5193 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.5837, allocations: 266 kB / 0.5195 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/0.5912, allocations: 3.267 MB / 0.5227 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.5913, allocations: 6.938 kB / 0.5227 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02922/0.6206, allocations: 10.74 MB / 0.5332 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.6208, allocations: 47.92 kB / 0.5333 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.6213, allocations: 143.3 kB / 0.5334 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02633/0.6476, allocations: 6.355 MB / 0.5396 GB, free: 3.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6477, allocations: 0 / 0.5396 GB, free: 3.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6477, allocations: 0 / 0.5396 GB, free: 3.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.6477, allocations: 3.75 kB / 0.5396 GB, free: 3.434 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.005746/0.6534, allocations: 1.565 MB / 0.5411 GB, free: 2.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.6535, allocations: 13.28 kB / 0.5411 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.6536, allocations: 71.09 kB / 0.5412 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.6553, allocations: 224.1 kB / 0.5414 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.6555, allocations: 268.7 kB / 0.5417 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.6556, allocations: 25.31 kB / 0.5417 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.6556, allocations: 32.25 kB / 0.5417 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.6578, allocations: 0.8245 MB / 0.5425 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6579, allocations: 3.938 kB / 0.5425 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.6579, allocations: 12 kB / 0.5426 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.6579, allocations: 12 kB / 0.5426 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.6601, allocations: 0.927 MB / 0.5435 GB, free: 112 kB / 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.00345/0.6636, allocations: 2.585 MB / 0.546 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.665, allocations: 380.3 kB / 0.5464 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.6652, allocations: 76.91 kB / 0.5464 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9096/1.575, allocations: 238.7 MB / 0.7795 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/1.576, allocations: 473 kB / 0.78 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.597e-06/1.576, allocations: 0 / 0.78 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003249/1.58, allocations: 0.7805 MB / 0.7808 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/1.58, allocations: 379.7 kB / 0.7811 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.58, allocations: 176.9 kB / 0.7813 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/1.58, allocations: 40.52 kB / 0.7813 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.58, allocations: 189.4 kB / 0.7815 GB, free: 173 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.58, allocations: 105.6 kB / 0.7816 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.58, allocations: 126.1 kB / 0.7817 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/1.581, allocations: 334.6 kB / 0.782 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.581, allocations: 85.06 kB / 0.7821 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/1.581, allocations: 340.6 kB / 0.7825 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/1.582, allocations: 486.5 kB / 0.7829 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.582, allocations: 4 kB / 0.7829 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009329/1.583, allocations: 478.6 kB / 0.7834 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/1.583, allocations: 8.906 kB / 0.7834 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.583, allocations: 12 kB / 0.7834 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.583, allocations: 12 kB / 0.7834 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.583, allocations: 143.8 kB / 0.7835 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/1.583, allocations: 15.94 kB / 0.7836 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/1.584, allocations: 55.52 kB / 0.7836 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/1.584, allocations: 35.98 kB / 0.7837 GB, free: 170.5 MB / 0.5606 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.0002002/1.584, allocations: 169.5 kB / 0.7838 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.584, allocations: 31.66 kB / 0.7838 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/1.587, allocations: 2.604 MB / 0.7864 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/1.587, allocations: 19.97 kB / 0.7864 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.587, allocations: 7.938 kB / 0.7864 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.587, allocations: 11.83 kB / 0.7864 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/1.588, allocations: 0.9272 MB / 0.7873 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.588, allocations: 4 kB / 0.7873 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/1.588, allocations: 75.86 kB / 0.7874 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.588, allocations: 4 kB / 0.7874 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/1.588, allocations: 8 kB / 0.7874 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/1.588, allocations: 8 kB / 0.7874 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.588, allocations: 4 kB / 0.7874 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/1.589, allocations: 0.7039 MB / 0.7881 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.589, allocations: 124.5 kB / 0.7882 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.589, allocations: 110.5 kB / 0.7883 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/1.59, allocations: 23.92 kB / 0.7884 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/1.59, allocations: 27.91 kB / 0.7884 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.59, allocations: 16 kB / 0.7884 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005484/1.59, allocations: 0.5001 MB / 0.7889 GB, free: 165 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.92e-07/1.59, allocations: 0 / 0.7889 GB, free: 165 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005601/1.596, allocations: 1.522 MB / 0.7904 GB, free: 163.6 MB / 0.5606 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.01162/1.608, allocations: 2.883 MB / 0.7932 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.609, allocations: 407.1 kB / 0.7936 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.609, allocations: 1.688 kB / 0.7936 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/1.609, allocations: 281.2 kB / 0.7939 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.61, allocations: 131.8 kB / 0.794 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.475/3.086, allocations: 0.6075 GB / 1.401 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/3.086, allocations: 0.9856 MB / 1.402 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000701/3.087, allocations: 0.5294 MB / 1.403 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/3.087, allocations: 339.3 kB / 1.403 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/3.087, allocations: 4 kB / 1.403 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08026/3.167, allocations: 63.18 MB / 1.465 GB, free: 70.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/3.167, allocations: 225.4 kB / 1.465 GB, free: 70.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.143/9.31, allocations: 0 / 1.465 GB, free: 70.43 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches