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.0009321/0.0009321, allocations: 93.78 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.2 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 63.57 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01827/0.1523, allocations: 14.24 MB / 497.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3039/0.4563, allocations: 27.83 MB / 0.5129 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.4567, allocations: 1.781 kB / 0.5129 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.4572, allocations: 81.16 kB / 0.513 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02841/0.4856, allocations: 6.847 MB / 0.5197 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.4867, allocations: 310.6 kB / 0.52 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.4912, allocations: 2.039 MB / 0.522 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.4913, allocations: 19.91 kB / 0.522 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.4918, allocations: 264.5 kB / 0.5223 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006157/0.498, allocations: 3.273 MB / 0.5255 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.4981, allocations: 8.156 kB / 0.5255 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02802/0.5261, allocations: 10.75 MB / 0.536 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.5263, allocations: 49.47 kB / 0.536 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.5267, allocations: 167.7 kB / 0.5362 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5457, allocations: 6.319 MB / 0.5423 GB, free: 3.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5458, allocations: 0 / 0.5423 GB, free: 3.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5458, allocations: 0 / 0.5423 GB, free: 3.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.5458, allocations: 3.938 kB / 0.5423 GB, free: 3.32 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.004711/0.5505, allocations: 1.496 MB / 0.5438 GB, free: 2.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5506, allocations: 9.656 kB / 0.5438 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.446e-05/0.5506, allocations: 70.5 kB / 0.5439 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5523, allocations: 228 kB / 0.5441 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.5525, allocations: 273.2 kB / 0.5444 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.5526, allocations: 27.28 kB / 0.5444 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.5526, allocations: 30.19 kB / 0.5444 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5547, allocations: 0.8302 MB / 0.5452 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5547, allocations: 3.938 kB / 0.5452 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.5548, allocations: 16 kB / 0.5452 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5548, allocations: 8 kB / 0.5453 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5569, allocations: 0.9465 MB / 0.5462 GB, free: 4 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.003307/0.5602, allocations: 2.577 MB / 0.5487 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5615, allocations: 390.2 kB / 0.5491 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.5617, allocations: 76.83 kB / 0.5491 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8915/1.453, allocations: 240.9 MB / 0.7843 GB, free: 118.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/1.455, allocations: 485.2 kB / 0.7848 GB, free: 118.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 5.069e-06/1.455, allocations: 0 / 0.7848 GB, free: 118.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003014/1.458, allocations: 0.7763 MB / 0.7856 GB, free: 117.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.458, allocations: 370.1 kB / 0.7859 GB, free: 117.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.458, allocations: 189.8 kB / 0.7861 GB, free: 117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/1.458, allocations: 36.95 kB / 0.7861 GB, free: 117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.458, allocations: 183.2 kB / 0.7863 GB, free: 116.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.69e-05/1.459, allocations: 114.6 kB / 0.7864 GB, free: 116.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/1.459, allocations: 49.19 kB / 0.7865 GB, free: 116.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/1.459, allocations: 333.1 kB / 0.7868 GB, free: 116.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.459, allocations: 87.61 kB / 0.7869 GB, free: 116.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.459, allocations: 346.3 kB / 0.7872 GB, free: 115.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/1.46, allocations: 476 kB / 0.7877 GB, free: 115.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.46, allocations: 4 kB / 0.7877 GB, free: 115.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008829/1.461, allocations: 470.7 kB / 0.7881 GB, free: 115.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.461, allocations: 9.594 kB / 0.7881 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.461, allocations: 12 kB / 0.7881 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.461, allocations: 12 kB / 0.7881 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.461, allocations: 142.7 kB / 0.7883 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/1.461, allocations: 22.86 kB / 0.7883 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/1.462, allocations: 64.59 kB / 0.7884 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/1.462, allocations: 46.72 kB / 0.7884 GB, free: 114.8 MB / 0.545 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.0001835/1.462, allocations: 157.6 kB / 0.7886 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/1.462, allocations: 23.19 kB / 0.7886 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/1.464, allocations: 2.605 MB / 0.7911 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/1.464, allocations: 18.31 kB / 0.7911 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.465, allocations: 4.375 kB / 0.7911 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/1.465, allocations: 17.33 kB / 0.7912 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.466, allocations: 0.9356 MB / 0.7921 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.466, allocations: 0 / 0.7921 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/1.466, allocations: 78.59 kB / 0.7921 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.466, allocations: 4 kB / 0.7922 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/1.466, allocations: 15.48 kB / 0.7922 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.466, allocations: 4 kB / 0.7922 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.466, allocations: 4 kB / 0.7922 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/1.467, allocations: 0.704 MB / 0.7929 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/1.467, allocations: 372.8 kB / 0.7932 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/1.467, allocations: 15.55 kB / 0.7932 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/1.468, allocations: 26.33 kB / 0.7933 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/1.468, allocations: 35.41 kB / 0.7933 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/1.468, allocations: 15.62 kB / 0.7933 GB, free: 111.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005176/1.468, allocations: 0.5027 MB / 0.7938 GB, free: 110.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.724e-06/1.468, allocations: 0 / 0.7938 GB, free: 110.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004908/1.473, allocations: 1.517 MB / 0.7953 GB, free: 109.4 MB / 0.545 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.008233/1.482, allocations: 2.869 MB / 0.7981 GB, free: 106.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008067/1.482, allocations: 417.5 kB / 0.7985 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.482, allocations: 0 / 0.7985 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.483, allocations: 278.4 kB / 0.7987 GB, free: 106.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.484, allocations: 129.9 kB / 0.7989 GB, free: 106.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.431/2.915, allocations: 0.6068 GB / 1.406 GB, free: 109.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/2.915, allocations: 0.9856 MB / 1.407 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007174/2.916, allocations: 0.5237 MB / 1.407 GB, free: 108 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/2.916, allocations: 342.8 kB / 1.407 GB, free: 107.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.403e-06/2.916, allocations: 4 kB / 1.407 GB, free: 107.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/3.001, allocations: 63.06 MB / 1.469 GB, free: 44.81 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/3.001, allocations: 231 kB / 1.469 GB, free: 44.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.909/8.91, allocations: 0 / 1.469 GB, free: 44.55 MB / 0.545 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