Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 202 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.336/0.336, allocations: 43.5 MB / 313.5 MB, free: 8.449 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01773/0.1483, allocations: 14.64 MB / 454.6 MB, free: 52 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2567/0.405, allocations: 28.3 MB / 482.9 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.4054, allocations: 0 / 482.9 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.4057, allocations: 79.42 kB / 482.9 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02279/0.4285, allocations: 6.823 MB / 489.8 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4296, allocations: 331.1 kB / 490.1 MB, free: 22.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.4341, allocations: 2.032 MB / 492.1 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.4342, allocations: 17.19 kB / 492.1 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.4346, allocations: 261.2 kB / 492.4 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006568/0.4412, allocations: 3.261 MB / 495.7 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.4413, allocations: 9.031 kB / 495.7 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02714/0.4685, allocations: 11.48 MB / 0.4953 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4686, allocations: 51.47 kB / 0.4953 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.4689, allocations: 141.8 kB / 0.4954 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.4935, allocations: 6.765 MB / 0.502 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.4936, allocations: 0 / 0.502 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4936, allocations: 0 / 0.502 GB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.4936, allocations: 1 kB / 0.502 GB, free: 13.41 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.007892/0.5015, allocations: 1.615 MB / 0.5036 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5016, allocations: 9.531 kB / 0.5036 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/0.5016, allocations: 68.94 kB / 0.5037 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.5032, allocations: 187.1 kB / 0.5039 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.5036, allocations: 269.4 kB / 0.5041 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.5036, allocations: 20.62 kB / 0.5042 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.5037, allocations: 31.44 kB / 0.5042 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.506, allocations: 0.7607 MB / 0.5049 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.506, allocations: 1.688 kB / 0.5049 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.5061, allocations: 16.42 kB / 0.5049 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.5061, allocations: 7.656 kB / 0.505 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.5082, allocations: 0.8144 MB / 0.5057 GB, free: 10.95 MB / 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.003012/0.5112, allocations: 2.715 MB / 0.5084 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5124, allocations: 348.8 kB / 0.5087 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.5125, allocations: 79.98 kB / 0.5088 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.577/1.089, allocations: 141.2 MB / 0.6467 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.091, allocations: 451.1 kB / 0.6471 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/1.091, allocations: 0.5469 kB / 0.6471 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00359/1.094, allocations: 1.119 MB / 0.6482 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/1.094, allocations: 373.5 kB / 0.6485 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.095, allocations: 177.2 kB / 0.6487 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.095, allocations: 33.05 kB / 0.6487 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/1.095, allocations: 187.2 kB / 0.6489 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/1.095, allocations: 117.2 kB / 0.649 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.095, allocations: 122.8 kB / 0.6491 GB, free: 165 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/1.095, allocations: 335.4 kB / 0.6495 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.095, allocations: 82.92 kB / 0.6495 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/1.096, allocations: 343 kB / 0.6499 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/1.096, allocations: 482 kB / 0.6503 GB, free: 164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.096, allocations: 0 / 0.6503 GB, free: 164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007432/1.097, allocations: 480.1 kB / 0.6508 GB, free: 164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.097, allocations: 9.766 kB / 0.6508 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.097, allocations: 11.55 kB / 0.6508 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.097, allocations: 13.06 kB / 0.6508 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.098, allocations: 209.5 kB / 0.651 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/1.099, allocations: 1.188 MB / 0.6522 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/1.099, allocations: 23.72 kB / 0.6522 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.099, allocations: 48.12 kB / 0.6522 GB, free: 162.8 MB / 0.4981 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.000177/1.099, allocations: 167 kB / 0.6524 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/1.099, allocations: 28.31 kB / 0.6524 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/1.102, allocations: 2.836 MB / 0.6552 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.102, allocations: 20.64 kB / 0.6552 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.102, allocations: 7.156 kB / 0.6552 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/1.102, allocations: 6.172 kB / 0.6552 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/1.103, allocations: 0.9724 MB / 0.6562 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.103, allocations: 7.188 kB / 0.6562 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.103, allocations: 101.8 kB / 0.6563 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/1.103, allocations: 168.4 kB / 0.6565 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.103, allocations: 10.72 kB / 0.6565 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002566/1.104, allocations: 0.6441 MB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.104, allocations: 5.781 kB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.105, allocations: 0.9784 MB / 0.6581 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/1.105, allocations: 134.5 kB / 0.6582 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.105, allocations: 91.88 kB / 0.6583 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.105, allocations: 17.44 kB / 0.6583 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/1.105, allocations: 32.92 kB / 0.6583 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/1.105, allocations: 19.72 kB / 0.6583 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004533/1.106, allocations: 472.3 kB / 0.6588 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 0 / 0.6588 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006387/1.112, allocations: 1.605 MB / 0.6604 GB, free: 159.3 MB / 0.4981 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.01042/1.123, allocations: 3.133 MB / 0.6634 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001764/1.124, allocations: 0.5303 MB / 0.6639 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.124, allocations: 1.312 kB / 0.6639 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000478/1.125, allocations: 361.6 kB / 0.6643 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/1.126, allocations: 133.4 kB / 0.6644 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8212/1.947, allocations: 352.8 MB / 1.009 GB, free: 164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/1.948, allocations: 0.9887 MB / 1.01 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008318/1.949, allocations: 0.498 MB / 1.01 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/1.949, allocations: 321.9 kB / 1.011 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/1.949, allocations: 0 / 1.011 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/2.059, allocations: 65.92 MB / 1.075 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/2.059, allocations: 264.8 kB / 1.075 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.593/7.652, allocations: 4 kB / 1.075 GB, free: 121.7 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches