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.001706/0.001706, allocations: 109.2 kB / 17.21 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.001895/0.001896, 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.535/1.535, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2723/0.2723, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 80.64 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1412, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02192/0.1632, allocations: 14.75 MB / 494.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3602/0.5235, allocations: 28.3 MB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.5238, allocations: 1.781 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.5244, allocations: 87.48 kB / 0.5103 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02882/0.5532, allocations: 6.848 MB / 0.517 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5544, allocations: 312.8 kB / 0.5173 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.5596, allocations: 2.032 MB / 0.5192 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.5597, allocations: 21.11 kB / 0.5193 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.5603, allocations: 263.6 kB / 0.5195 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007387/0.5677, allocations: 3.267 MB / 0.5227 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.5678, allocations: 8.25 kB / 0.5227 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03576/0.6036, allocations: 11.51 MB / 0.534 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.6038, allocations: 45.64 kB / 0.534 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.6043, allocations: 140.9 kB / 0.5341 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02598/0.6302, allocations: 6.797 MB / 0.5408 GB, free: 2.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.6303, allocations: 0 / 0.5408 GB, free: 2.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.6303, allocations: 0 / 0.5408 GB, free: 2.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6303, allocations: 0 / 0.5408 GB, free: 2.77 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.005867/0.6362, allocations: 1.622 MB / 0.5424 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.6363, allocations: 8.875 kB / 0.5424 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.6363, allocations: 70.72 kB / 0.5424 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.6378, allocations: 184.5 kB / 0.5426 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.6381, allocations: 271.9 kB / 0.5429 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6381, allocations: 21.22 kB / 0.5429 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.6382, allocations: 35.94 kB / 0.5429 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.6403, allocations: 0.7603 MB / 0.5437 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6403, allocations: 4 kB / 0.5437 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.6404, allocations: 12 kB / 0.5437 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6404, allocations: 8 kB / 0.5437 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.6427, allocations: 0.8176 MB / 0.5445 GB, free: 15.08 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.003834/0.6465, allocations: 2.709 MB / 0.5471 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.6478, allocations: 357.7 kB / 0.5475 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.648, allocations: 68.83 kB / 0.5475 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3869/1.035, allocations: 146.1 MB / 0.6902 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/1.036, allocations: 442.6 kB / 0.6906 GB, free: 13.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 5.2e-06/1.036, allocations: 0 / 0.6906 GB, free: 13.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004107/1.041, allocations: 1.116 MB / 0.6917 GB, free: 11.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/1.041, allocations: 375.8 kB / 0.6921 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.041, allocations: 186.2 kB / 0.6922 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/1.041, allocations: 29.7 kB / 0.6923 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.041, allocations: 193.9 kB / 0.6924 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.041, allocations: 110.2 kB / 0.6926 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.041, allocations: 126.1 kB / 0.6927 GB, free: 10.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.042, allocations: 332.5 kB / 0.693 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.042, allocations: 81.06 kB / 0.6931 GB, free: 10.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/1.042, allocations: 349.3 kB / 0.6934 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/1.043, allocations: 486.7 kB / 0.6939 GB, free: 9.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.043, allocations: 4 kB / 0.6939 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009437/1.044, allocations: 479.7 kB / 0.6943 GB, free: 8.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.044, allocations: 8 kB / 0.6943 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.044, allocations: 8 kB / 0.6943 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.044, allocations: 16 kB / 0.6944 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.045, allocations: 207.7 kB / 0.6946 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006335/1.046, allocations: 1.192 MB / 0.6957 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/1.046, allocations: 20 kB / 0.6957 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/1.046, allocations: 39.97 kB / 0.6958 GB, free: 7.293 MB / 0.545 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.0002015/1.047, allocations: 173.7 kB / 0.6959 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.047, allocations: 31.72 kB / 0.696 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/1.05, allocations: 2.826 MB / 0.6987 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/1.05, allocations: 28.34 kB / 0.6988 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.05, allocations: 8 kB / 0.6988 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.05, allocations: 7.781 kB / 0.6988 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.051, allocations: 0.9646 MB / 0.6997 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.051, allocations: 4 kB / 0.6997 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/1.052, allocations: 104.2 kB / 0.6998 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/1.052, allocations: 165.1 kB / 0.7 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/1.052, allocations: 12.61 kB / 0.7 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004036/1.052, allocations: 0.6498 MB / 0.7006 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.053, allocations: 7.938 kB / 0.7006 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.054, allocations: 0.9764 MB / 0.7016 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.054, allocations: 124.5 kB / 0.7017 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.054, allocations: 94.7 kB / 0.7018 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/1.054, allocations: 19.94 kB / 0.7018 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/1.055, allocations: 31.89 kB / 0.7018 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/1.055, allocations: 16.56 kB / 0.7019 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006259/1.055, allocations: 475 kB / 0.7023 GB, free: 448 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.055, allocations: 0 / 0.7023 GB, free: 448 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.3522/1.407, allocations: 1.613 MB / 0.7039 GB, free: 209.7 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: 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.01417/1.422, allocations: 3.145 MB / 0.707 GB, free: 209 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002131/1.424, allocations: 0.535 MB / 0.7075 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.424, allocations: 1.188 kB / 0.7075 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/1.425, allocations: 367.9 kB / 0.7078 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.426, allocations: 118.4 kB / 0.7079 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.763/2.189, allocations: 353.7 MB / 1.053 GB, free: 66.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/2.189, allocations: 0.9858 MB / 1.054 GB, free: 65.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008384/2.19, allocations: 0.5026 MB / 1.055 GB, free: 64.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/2.19, allocations: 319.3 kB / 1.055 GB, free: 64.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.074e-06/2.19, allocations: 0 / 1.055 GB, free: 64.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.366/2.556, allocations: 66.07 MB / 1.12 GB, free: 171.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.557, allocations: 267.2 kB / 1.12 GB, free: 171.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.252/8.809, allocations: 0 / 1.12 GB, free: 171.1 MB / 0.545 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