Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 71.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3638, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.017/0.3808, allocations: 13.93 MB / 0.5442 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02991/0.4108, allocations: 26.61 MB / 0.5701 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.4111, allocations: 7.938 kB / 0.5701 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.4116, allocations: 83.45 kB / 0.5702 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02489/0.4365, allocations: 8.527 MB / 0.5786 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4376, allocations: 346.2 kB / 0.5789 GB, free: 184 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.4419, allocations: 1.998 MB / 0.5808 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.442, allocations: 24.39 kB / 0.5809 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.4425, allocations: 278.7 kB / 0.5811 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005943/0.4485, allocations: 3.258 MB / 0.5843 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.4485, allocations: 12 kB / 0.5843 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02341/0.472, allocations: 11.63 MB / 0.5957 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4721, allocations: 47.75 kB / 0.5957 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.4723, allocations: 135.4 kB / 0.5958 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.4927, allocations: 6.753 MB / 0.6024 GB, free: 7.949 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.4928, allocations: 4 kB / 0.6024 GB, free: 7.945 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4928, allocations: 0 / 0.6024 GB, free: 7.945 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.4928, allocations: 0 / 0.6024 GB, free: 7.945 MB / 462.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.007459/0.5003, allocations: 1.619 MB / 0.604 GB, free: 6.277 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/0.5004, allocations: 8.031 kB / 0.604 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.5005, allocations: 70.72 kB / 0.6041 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.5031, allocations: 184.5 kB / 0.6043 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.5039, allocations: 275.8 kB / 0.6045 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.504, allocations: 32.59 kB / 0.6046 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.5041, allocations: 28 kB / 0.6046 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.5073, allocations: 0.7602 MB / 0.6053 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5074, allocations: 4 kB / 0.6053 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.5075, allocations: 12 kB / 0.6054 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5075, allocations: 8 kB / 0.6054 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.5107, allocations: 0.8176 MB / 0.6062 GB, free: 3.992 MB / 462.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.004731/0.5155, allocations: 2.695 MB / 0.6088 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.5174, allocations: 354.3 kB / 0.6091 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.5176, allocations: 72.77 kB / 0.6092 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6975/1.215, allocations: 147.8 MB / 0.7536 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/1.216, allocations: 449.2 kB / 0.754 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.076e-06/1.216, allocations: 0 / 0.754 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003606/1.22, allocations: 1.127 MB / 0.7551 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.22, allocations: 369.3 kB / 0.7554 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.22, allocations: 194.2 kB / 0.7556 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/1.22, allocations: 29.7 kB / 0.7557 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/1.22, allocations: 194.9 kB / 0.7558 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/1.221, allocations: 114 kB / 0.7559 GB, free: 170 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.221, allocations: 126.1 kB / 0.7561 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/1.221, allocations: 330.8 kB / 0.7564 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.221, allocations: 81.06 kB / 0.7565 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.221, allocations: 345.6 kB / 0.7568 GB, free: 169 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/1.222, allocations: 483.4 kB / 0.7573 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.222, allocations: 7.75 kB / 0.7573 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007824/1.222, allocations: 466.5 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.222, allocations: 11.98 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.223, allocations: 12.09 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.223, allocations: 16 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.224, allocations: 207.7 kB / 0.7579 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004219/1.224, allocations: 1.182 MB / 0.7591 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/1.225, allocations: 24.19 kB / 0.7591 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/1.225, allocations: 47.97 kB / 0.7592 GB, free: 166.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.225, allocations: 161.5 kB / 0.7593 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/1.225, allocations: 27.72 kB / 0.7593 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/1.227, allocations: 2.819 MB / 0.7621 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.227, allocations: 23.97 kB / 0.7621 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.227, allocations: 4.375 kB / 0.7621 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.227, allocations: 7.984 kB / 0.7621 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/1.228, allocations: 0.9686 MB / 0.7631 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.228, allocations: 4 kB / 0.7631 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/1.228, allocations: 96.27 kB / 0.7632 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/1.229, allocations: 168.8 kB / 0.7633 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/1.229, allocations: 8 kB / 0.7633 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002857/1.229, allocations: 0.6382 MB / 0.764 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.229, allocations: 10.41 kB / 0.764 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/1.23, allocations: 0.9751 MB / 0.7649 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/1.23, allocations: 128.4 kB / 0.765 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/1.23, allocations: 98.75 kB / 0.7651 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/1.23, allocations: 19.98 kB / 0.7652 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.23, allocations: 34.69 kB / 0.7652 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.23, allocations: 15.98 kB / 0.7652 GB, free: 160 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004034/1.231, allocations: 471 kB / 0.7657 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.231, allocations: 3.844 kB / 0.7657 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004053/1.235, allocations: 1.617 MB / 0.7672 GB, free: 158.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007667/1.242, allocations: 3.139 MB / 0.7703 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001532/1.244, allocations: 0.5319 MB / 0.7708 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.244, allocations: 4.062 kB / 0.7708 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/1.244, allocations: 361.6 kB / 0.7712 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/1.245, allocations: 143.3 kB / 0.7713 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7035/1.949, allocations: 353.1 MB / 1.116 GB, free: 66.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.949, allocations: 0.982 MB / 1.117 GB, free: 65.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007894/1.95, allocations: 0.5108 MB / 1.118 GB, free: 65.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/1.951, allocations: 315.3 kB / 1.118 GB, free: 65.15 MB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/1.951, allocations: 0 / 1.118 GB, free: 65.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3872/2.338, allocations: 66.71 MB / 1.183 GB, free: 221 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.9, allocations: 7.547 kB / 1.183 GB, free: 221 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches