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.0008225/0.0008225, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009848/0.0009848, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.577/1.577, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.3829/0.3829, allocations: 43.57 MB / 315 MB, free: 8.957 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.0006138/0.000614, allocations: 15.98 kB / 384.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1279, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.2539/0.3819, allocations: 14.13 MB / 457.7 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.4106, allocations: 27.83 MB / 485.5 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.411, allocations: 3.094 kB / 485.5 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.4114, allocations: 83.12 kB / 485.6 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02156/0.4329, allocations: 6.828 MB / 492.4 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.434, allocations: 312.7 kB / 492.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.4376, allocations: 2.03 MB / 494.8 MB, free: 21.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.4377, allocations: 21.11 kB / 494.8 MB, free: 21.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.4382, allocations: 264.5 kB / 495 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005423/0.4436, allocations: 3.255 MB / 498.3 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.4437, allocations: 13 kB / 498.3 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02712/0.4709, allocations: 11.48 MB / 0.4978 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.471, allocations: 54.83 kB / 0.4979 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.4713, allocations: 161.7 kB / 0.498 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02333/0.4946, allocations: 6.731 MB / 0.5046 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4947, allocations: 1.188 kB / 0.5046 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4947, allocations: 0 / 0.5046 GB, free: 12.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4947, allocations: 0 / 0.5046 GB, free: 12.89 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.00701/0.5017, allocations: 1.545 MB / 0.5061 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.5018, allocations: 9.062 kB / 0.5061 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.5019, allocations: 69.28 kB / 0.5062 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.5036, allocations: 191.3 kB / 0.5064 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.5039, allocations: 267.7 kB / 0.5066 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.504, allocations: 21.62 kB / 0.5067 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.504, allocations: 36.66 kB / 0.5067 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.5061, allocations: 0.7561 MB / 0.5074 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5061, allocations: 1.281 kB / 0.5074 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.5062, allocations: 12.12 kB / 0.5074 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.5062, allocations: 8.75 kB / 0.5074 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5083, allocations: 0.8177 MB / 0.5082 GB, free: 10.47 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.003299/0.5116, allocations: 2.729 MB / 0.5109 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5128, allocations: 340.6 kB / 0.5112 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.5129, allocations: 80.05 kB / 0.5113 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5691/1.082, allocations: 142.5 MB / 0.6504 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/1.084, allocations: 443.2 kB / 0.6509 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/1.084, allocations: 3.188 kB / 0.6509 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003911/1.088, allocations: 1.113 MB / 0.6519 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.088, allocations: 381.4 kB / 0.6523 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/1.088, allocations: 184.4 kB / 0.6525 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/1.088, allocations: 32.92 kB / 0.6525 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.088, allocations: 183.6 kB / 0.6527 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.088, allocations: 115.1 kB / 0.6528 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/1.088, allocations: 46 kB / 0.6528 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.088, allocations: 331.9 kB / 0.6532 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/1.089, allocations: 80.84 kB / 0.6532 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/1.089, allocations: 348.1 kB / 0.6536 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/1.089, allocations: 480.9 kB / 0.654 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.089, allocations: 3.094 kB / 0.654 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006827/1.09, allocations: 472.5 kB / 0.6545 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.09, allocations: 9.719 kB / 0.6545 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.09, allocations: 11.91 kB / 0.6545 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.09, allocations: 13.06 kB / 0.6545 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.092, allocations: 208.4 kB / 0.6547 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003958/1.092, allocations: 1.185 MB / 0.6559 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/1.092, allocations: 29.17 kB / 0.6559 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/1.092, allocations: 42.95 kB / 0.6559 GB, free: 159.5 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.0001729/1.093, allocations: 170.4 kB / 0.6561 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/1.093, allocations: 23.75 kB / 0.6561 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.095, allocations: 2.839 MB / 0.6589 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.095, allocations: 22.44 kB / 0.6589 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.095, allocations: 3.688 kB / 0.6589 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.095, allocations: 11.41 kB / 0.6589 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/1.096, allocations: 0.973 MB / 0.6599 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.096, allocations: 3.609 kB / 0.6599 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/1.097, allocations: 94.36 kB / 0.66 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/1.097, allocations: 170.3 kB / 0.6601 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/1.097, allocations: 9.875 kB / 0.6602 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002854/1.097, allocations: 0.6435 MB / 0.6608 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.097, allocations: 11.5 kB / 0.6608 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.098, allocations: 0.975 MB / 0.6617 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/1.099, allocations: 351.7 kB / 0.6621 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/1.099, allocations: 9.938 kB / 0.6621 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.099, allocations: 24.89 kB / 0.6621 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/1.099, allocations: 37.75 kB / 0.6621 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.099, allocations: 12.78 kB / 0.6622 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004798/1.1, allocations: 476.3 kB / 0.6626 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.062e-06/1.1, allocations: 0 / 0.6626 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006856/1.107, allocations: 1.612 MB / 0.6642 GB, free: 157.4 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.01185/1.118, allocations: 3.122 MB / 0.6672 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.12, allocations: 0.5317 MB / 0.6678 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.12, allocations: 1.125 kB / 0.6678 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/1.121, allocations: 357.6 kB / 0.6681 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.122, allocations: 126.2 kB / 0.6682 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8889/2.011, allocations: 352.4 MB / 1.012 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/2.011, allocations: 0.9872 MB / 1.013 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008053/2.012, allocations: 0.5071 MB / 1.014 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/2.013, allocations: 315.6 kB / 1.014 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/2.013, allocations: 3.562 kB / 1.014 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/2.134, allocations: 65.79 MB / 1.078 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/2.134, allocations: 255.9 kB / 1.079 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.919/8.054, allocations: 0 / 1.079 GB, free: 118.2 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