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.0008018/0.0008019, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009227/0.0009227, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1717/0.1717, allocations: 46.17 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000208/0.000208, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08676, allocations: 63.57 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01303/0.09982, allocations: 14.24 MB / 497.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1885/0.2884, allocations: 27.83 MB / 0.5129 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2886, allocations: 1.344 kB / 0.5129 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.2889, allocations: 78.39 kB / 0.513 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.3067, allocations: 6.846 MB / 0.5197 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.3074, allocations: 322.2 kB / 0.52 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.311, allocations: 2.032 MB / 0.522 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.3111, allocations: 18.98 kB / 0.522 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.3116, allocations: 262.7 kB / 0.5223 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005503/0.3171, allocations: 3.276 MB / 0.5255 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.3172, allocations: 8.094 kB / 0.5255 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.3349, allocations: 10.75 MB / 0.536 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.335, allocations: 37.88 kB / 0.536 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3352, allocations: 168.9 kB / 0.5362 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009748/0.3449, allocations: 6.321 MB / 0.5423 GB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3449, allocations: 0 / 0.5423 GB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.345, allocations: 0 / 0.5423 GB, free: 3.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.345, allocations: 4 kB / 0.5423 GB, free: 3.348 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.004183/0.3491, allocations: 1.507 MB / 0.5438 GB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3492, allocations: 11.38 kB / 0.5438 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.3493, allocations: 68.47 kB / 0.5439 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3507, allocations: 223.1 kB / 0.5441 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3509, allocations: 268.8 kB / 0.5444 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.351, allocations: 22.41 kB / 0.5444 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.351, allocations: 34.16 kB / 0.5444 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.3529, allocations: 0.8359 MB / 0.5452 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3529, allocations: 0 / 0.5452 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.353, allocations: 12 kB / 0.5452 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.353, allocations: 8 kB / 0.5452 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.3549, allocations: 0.9543 MB / 0.5462 GB, free: 16 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.002805/0.3578, allocations: 2.583 MB / 0.5487 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.359, allocations: 383.2 kB / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3592, allocations: 80.81 kB / 0.5491 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6701/1.029, allocations: 240.9 MB / 0.7844 GB, free: 140.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.031, allocations: 481.8 kB / 0.7848 GB, free: 139.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/1.031, allocations: 3.562 kB / 0.7848 GB, free: 139.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002496/1.033, allocations: 0.777 MB / 0.7856 GB, free: 138.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.033, allocations: 384.3 kB / 0.7859 GB, free: 138.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.033, allocations: 179.8 kB / 0.7861 GB, free: 138.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/1.033, allocations: 33.7 kB / 0.7862 GB, free: 138.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/1.033, allocations: 188.8 kB / 0.7863 GB, free: 138 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/1.033, allocations: 105.8 kB / 0.7864 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/1.033, allocations: 49.69 kB / 0.7865 GB, free: 137.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/1.034, allocations: 330.6 kB / 0.7868 GB, free: 137.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/1.034, allocations: 81.06 kB / 0.7869 GB, free: 137.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/1.034, allocations: 348.7 kB / 0.7872 GB, free: 137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/1.034, allocations: 482.5 kB / 0.7877 GB, free: 136.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.034, allocations: 3.375 kB / 0.7877 GB, free: 136.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000657/1.035, allocations: 466 kB / 0.7881 GB, free: 135.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.035, allocations: 16.22 kB / 0.7881 GB, free: 135.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.035, allocations: 11.72 kB / 0.7881 GB, free: 135.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.035, allocations: 12 kB / 0.7882 GB, free: 135.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/1.035, allocations: 139.8 kB / 0.7883 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.035, allocations: 19.92 kB / 0.7883 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/1.036, allocations: 47.59 kB / 0.7883 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/1.036, allocations: 47.97 kB / 0.7884 GB, free: 135.6 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.0001141/1.036, allocations: 169.5 kB / 0.7886 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/1.036, allocations: 27.72 kB / 0.7886 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/1.038, allocations: 2.601 MB / 0.7911 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.038, allocations: 15.98 kB / 0.7911 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.038, allocations: 4 kB / 0.7911 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.038, allocations: 7.984 kB / 0.7912 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/1.039, allocations: 0.9301 MB / 0.7921 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.039, allocations: 7.984 kB / 0.7921 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/1.039, allocations: 71.88 kB / 0.7921 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.039, allocations: 4.25 kB / 0.7921 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.039, allocations: 20.86 kB / 0.7922 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.039, allocations: 4 kB / 0.7922 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.039, allocations: 7.938 kB / 0.7922 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/1.039, allocations: 0.7064 MB / 0.7929 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/1.04, allocations: 382.8 kB / 0.7932 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/1.04, allocations: 11.98 kB / 0.7932 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/1.04, allocations: 18.62 kB / 0.7933 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/1.04, allocations: 35.83 kB / 0.7933 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/1.04, allocations: 16 kB / 0.7933 GB, free: 130.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004068/1.041, allocations: 0.5079 MB / 0.7938 GB, free: 130 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 0.7938 GB, free: 130 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002932/1.043, allocations: 1.51 MB / 0.7953 GB, free: 128.6 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.00623/1.05, allocations: 2.879 MB / 0.7981 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005225/1.05, allocations: 416.1 kB / 0.7985 GB, free: 125.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.05, allocations: 0.75 kB / 0.7985 GB, free: 125.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.051, allocations: 276.7 kB / 0.7987 GB, free: 125.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/1.052, allocations: 133.5 kB / 0.7989 GB, free: 125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.114/2.165, allocations: 0.6068 GB / 1.406 GB, free: 103.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/2.165, allocations: 0.9856 MB / 1.407 GB, free: 102.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006203/2.166, allocations: 0.5246 MB / 1.407 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/2.166, allocations: 339.3 kB / 1.407 GB, free: 101.8 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/2.166, allocations: 4 kB / 1.407 GB, free: 101.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/2.232, allocations: 63.06 MB / 1.469 GB, free: 38.87 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/2.232, allocations: 228.2 kB / 1.469 GB, free: 38.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.75/6.982, allocations: 0 / 1.469 GB, free: 38.61 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