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.001229/0.00123, allocations: 104.5 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.413/1.413, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.3179/0.3179, allocations: 43.49 MB / 313.6 MB, free: 8.566 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.001383/0.001384, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01544/0.1215, allocations: 13.93 MB / 454 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2132/0.3348, allocations: 26.68 MB / 480.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.3351, allocations: 0 / 480.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3354, allocations: 81.66 kB / 480.8 MB, free: 26.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02063/0.3561, allocations: 7.521 MB / 488.3 MB, free: 23.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/0.3569, allocations: 328.1 kB / 488.6 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.3602, allocations: 1.993 MB / 490.6 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.3603, allocations: 21.47 kB / 490.7 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.3607, allocations: 258.5 kB / 490.9 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.3658, allocations: 3.264 MB / 494.2 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.366, allocations: 12.97 kB / 494.2 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03585/0.4018, allocations: 11.45 MB / 0.4938 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.4021, allocations: 49.72 kB / 0.4938 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.4024, allocations: 136 kB / 0.494 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.4242, allocations: 6.782 MB / 0.5006 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4242, allocations: 0 / 0.5006 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4242, allocations: 1.125 kB / 0.5006 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4243, allocations: 0 / 0.5006 GB, free: 14.23 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.006097/0.4304, allocations: 1.616 MB / 0.5022 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4304, allocations: 13.45 kB / 0.5022 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.4305, allocations: 69.22 kB / 0.5022 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.4321, allocations: 186 kB / 0.5024 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.4324, allocations: 273.1 kB / 0.5027 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4325, allocations: 21.31 kB / 0.5027 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.4325, allocations: 39.06 kB / 0.5027 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4348, allocations: 0.7487 MB / 0.5035 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4348, allocations: 4.969 kB / 0.5035 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.4349, allocations: 12.88 kB / 0.5035 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4349, allocations: 7.625 kB / 0.5035 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.437, allocations: 0.8212 MB / 0.5043 GB, free: 11.76 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.003047/0.4401, allocations: 2.705 MB / 0.5069 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.4414, allocations: 348.3 kB / 0.5073 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4415, allocations: 79.3 kB / 0.5073 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5889/1.03, allocations: 141.2 MB / 0.6452 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/1.032, allocations: 449 kB / 0.6456 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/1.032, allocations: 2.812 kB / 0.6456 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003706/1.036, allocations: 1.114 MB / 0.6467 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.036, allocations: 378.7 kB / 0.6471 GB, free: 165.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/1.036, allocations: 183.4 kB / 0.6472 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/1.036, allocations: 30.73 kB / 0.6473 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/1.036, allocations: 185.8 kB / 0.6474 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/1.036, allocations: 118.8 kB / 0.6476 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.036, allocations: 124.6 kB / 0.6477 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/1.036, allocations: 335.1 kB / 0.648 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.036, allocations: 78.02 kB / 0.6481 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/1.037, allocations: 348.5 kB / 0.6484 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/1.037, allocations: 480 kB / 0.6489 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.037, allocations: 3.062 kB / 0.6489 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008251/1.038, allocations: 477.4 kB / 0.6493 GB, free: 164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.038, allocations: 11.25 kB / 0.6493 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.038, allocations: 14.78 kB / 0.6493 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.038, allocations: 15.05 kB / 0.6494 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/1.04, allocations: 210.3 kB / 0.6496 GB, free: 164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005069/1.04, allocations: 1.181 MB / 0.6507 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/1.041, allocations: 30.88 kB / 0.6507 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/1.041, allocations: 42.58 kB / 0.6508 GB, free: 162.9 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.0002163/1.041, allocations: 167.8 kB / 0.6509 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/1.041, allocations: 28.34 kB / 0.651 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.044, allocations: 2.834 MB / 0.6537 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.044, allocations: 20.05 kB / 0.6538 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.044, allocations: 7.219 kB / 0.6538 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.044, allocations: 11.03 kB / 0.6538 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009759/1.045, allocations: 0.9688 MB / 0.6547 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.045, allocations: 3.188 kB / 0.6547 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/1.046, allocations: 93.7 kB / 0.6548 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/1.046, allocations: 166.7 kB / 0.655 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/1.046, allocations: 16.7 kB / 0.655 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000331/1.046, allocations: 0.6439 MB / 0.6556 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.046, allocations: 3.344 kB / 0.6556 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/1.047, allocations: 0.9779 MB / 0.6566 GB, free: 160 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.048, allocations: 135.6 kB / 0.6567 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.048, allocations: 89.31 kB / 0.6568 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.048, allocations: 17.86 kB / 0.6568 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.048, allocations: 36.31 kB / 0.6568 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.048, allocations: 13.84 kB / 0.6569 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004631/1.049, allocations: 474.2 kB / 0.6573 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/1.049, allocations: 0 / 0.6573 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007064/1.056, allocations: 1.606 MB / 0.6589 GB, free: 159.5 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.01138/1.067, allocations: 3.141 MB / 0.6619 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.069, allocations: 0.5508 MB / 0.6625 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.069, allocations: 0.6562 kB / 0.6625 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006022/1.07, allocations: 358 kB / 0.6628 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/1.071, allocations: 130.4 kB / 0.6629 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9322/2.003, allocations: 352.8 MB / 1.007 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/2.004, allocations: 0.9851 MB / 1.008 GB, free: 164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009295/2.005, allocations: 0.5034 MB / 1.009 GB, free: 164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/2.005, allocations: 321.8 kB / 1.009 GB, free: 164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.655e-06/2.005, allocations: 0 / 1.009 GB, free: 164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/2.155, allocations: 66.31 MB / 1.074 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/2.155, allocations: 252.9 kB / 1.074 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.173/8.329, allocations: 0 / 1.074 GB, free: 122.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