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.001558/0.001564, allocations: 122.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 197.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.11 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 75.88 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3552, allocations: 62.44 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01847/0.3737, allocations: 13.92 MB / 0.5443 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03296/0.4066, allocations: 26.61 MB / 0.5702 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.4071, allocations: 4 kB / 0.5703 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.4076, allocations: 95.38 kB / 0.5703 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02628/0.4339, allocations: 8.534 MB / 0.5787 GB, free: 392 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.4351, allocations: 341.9 kB / 0.579 GB, free: 56 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004895/0.44, allocations: 1.998 MB / 0.581 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.4401, allocations: 28.38 kB / 0.581 GB, free: 14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/0.4407, allocations: 262.9 kB / 0.5812 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007694/0.4484, allocations: 3.258 MB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.964e-05/0.4485, allocations: 12 kB / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02519/0.4737, allocations: 11.63 MB / 0.5958 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.4739, allocations: 51.75 kB / 0.5958 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.4742, allocations: 139.3 kB / 0.596 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01876/0.4929, allocations: 6.766 MB / 0.6026 GB, free: 7.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.493, allocations: 0 / 0.6026 GB, free: 7.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.493, allocations: 3.938 kB / 0.6026 GB, free: 7.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.493, allocations: 0 / 0.6026 GB, free: 7.809 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.005468/0.4985, allocations: 1.67 MB / 0.6042 GB, free: 6.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4986, allocations: 8.031 kB / 0.6042 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.4987, allocations: 74.66 kB / 0.6043 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.5003, allocations: 188.5 kB / 0.6045 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.5008, allocations: 272 kB / 0.6047 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.5008, allocations: 24.97 kB / 0.6047 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.5009, allocations: 35.94 kB / 0.6048 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.5032, allocations: 0.7603 MB / 0.6055 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5033, allocations: 0 / 0.6055 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.5033, allocations: 12 kB / 0.6055 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5033, allocations: 8 kB / 0.6055 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.5055, allocations: 0.8215 MB / 0.6063 GB, free: 3.793 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.003661/0.5092, allocations: 2.699 MB / 0.609 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.5106, allocations: 362.2 kB / 0.6093 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.5107, allocations: 72.77 kB / 0.6094 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6457/1.156, allocations: 147.8 MB / 0.7538 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.158, allocations: 453.3 kB / 0.7542 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/1.158, allocations: 4.984 kB / 0.7542 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003397/1.161, allocations: 1.147 MB / 0.7553 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/1.161, allocations: 371.8 kB / 0.7557 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.161, allocations: 182.3 kB / 0.7559 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.161, allocations: 33.7 kB / 0.7559 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/1.161, allocations: 190.6 kB / 0.7561 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/1.161, allocations: 123.9 kB / 0.7562 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.162, allocations: 126.1 kB / 0.7563 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/1.162, allocations: 330.8 kB / 0.7566 GB, free: 169 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/1.162, allocations: 77.06 kB / 0.7567 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/1.162, allocations: 349.6 kB / 0.757 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/1.162, allocations: 485.2 kB / 0.7575 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.162, allocations: 0 / 0.7575 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006818/1.163, allocations: 469.5 kB / 0.7579 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.163, allocations: 14.03 kB / 0.758 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.163, allocations: 8 kB / 0.758 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.163, allocations: 16 kB / 0.758 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.165, allocations: 211.6 kB / 0.7582 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/1.165, allocations: 1.182 MB / 0.7593 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/1.165, allocations: 26.19 kB / 0.7594 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/1.165, allocations: 43.97 kB / 0.7594 GB, free: 165.8 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.0001295/1.165, allocations: 168.5 kB / 0.7596 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/1.165, allocations: 30 kB / 0.7596 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/1.167, allocations: 2.84 MB / 0.7624 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.168, allocations: 23.97 kB / 0.7624 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.168, allocations: 7.234 kB / 0.7624 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.168, allocations: 4 kB / 0.7624 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/1.168, allocations: 0.9786 MB / 0.7633 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.168, allocations: 4 kB / 0.7634 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/1.169, allocations: 99.58 kB / 0.7634 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/1.169, allocations: 154.8 kB / 0.7636 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/1.169, allocations: 12 kB / 0.7636 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002355/1.169, allocations: 0.6489 MB / 0.7642 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.169, allocations: 0 / 0.7642 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/1.17, allocations: 0.9837 MB / 0.7652 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/1.17, allocations: 134.3 kB / 0.7653 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/1.17, allocations: 97.38 kB / 0.7654 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.17, allocations: 16 kB / 0.7654 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/1.171, allocations: 42.67 kB / 0.7655 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.171, allocations: 12 kB / 0.7655 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004057/1.171, allocations: 475 kB / 0.7659 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.171, allocations: 4 kB / 0.7659 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00401/1.175, allocations: 1.632 MB / 0.7675 GB, free: 157.6 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.007734/1.183, allocations: 3.159 MB / 0.7706 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.184, allocations: 0.5411 MB / 0.7712 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.184, allocations: 0 / 0.7712 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/1.185, allocations: 357.6 kB / 0.7715 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/1.185, allocations: 127.9 kB / 0.7716 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6503/1.836, allocations: 353.3 MB / 1.117 GB, free: 66.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.836, allocations: 0.9781 MB / 1.118 GB, free: 65.33 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006222/1.837, allocations: 0.5114 MB / 1.118 GB, free: 64.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/1.837, allocations: 319.3 kB / 1.118 GB, free: 64.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.033e-06/1.837, allocations: 4 kB / 1.118 GB, free: 64.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/2.202, allocations: 66.43 MB / 1.183 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.38/19.58, allocations: 4.531 kB / 1.183 GB, free: 220.9 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