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.001473/0.001473, allocations: 105.1 kB / 16.4 MB, free: 6.492 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.001812/0.001812, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001329/0.001329, allocations: 63.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01587/0.1189, allocations: 13.82 MB / 0.5009 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02797/0.147, allocations: 26.58 MB / 0.5269 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.1473, allocations: 0 / 0.5269 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1478, allocations: 95.39 kB / 0.527 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2519/0.3997, allocations: 8.506 MB / 0.5353 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.4009, allocations: 342.2 kB / 0.5356 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.4058, allocations: 1.999 MB / 0.5376 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.4059, allocations: 28.67 kB / 0.5376 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.4065, allocations: 263.8 kB / 0.5379 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007098/0.4137, allocations: 3.256 MB / 0.541 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.4138, allocations: 10.53 kB / 0.541 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02253/0.4363, allocations: 11.6 MB / 0.5524 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4365, allocations: 46.72 kB / 0.5524 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.4368, allocations: 138.9 kB / 0.5526 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.4562, allocations: 6.735 MB / 0.5591 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4563, allocations: 0 / 0.5591 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4563, allocations: 0.9844 kB / 0.5591 GB, free: 1.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4563, allocations: 0 / 0.5591 GB, free: 1.156 MB / 414.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.004679/0.461, allocations: 1.613 MB / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.461, allocations: 13.45 kB / 0.5607 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.4611, allocations: 69.38 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4626, allocations: 190.4 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.4629, allocations: 270.2 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.463, allocations: 25.59 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.463, allocations: 33.06 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.4651, allocations: 0.761 MB / 0.562 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4651, allocations: 4 kB / 0.562 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.4652, allocations: 13 kB / 0.562 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4652, allocations: 8.562 kB / 0.562 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.4685, allocations: 0.8202 MB / 0.5628 GB, free: 14.73 MB / 430.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.004668/0.4732, allocations: 2.705 MB / 0.5655 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.4751, allocations: 342.6 kB / 0.5658 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4753, allocations: 75.28 kB / 0.5659 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3785/0.8538, allocations: 142.9 MB / 0.7054 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.8553, allocations: 446.8 kB / 0.7058 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.8553, allocations: 0 / 0.7058 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004069/0.8594, allocations: 1.117 MB / 0.7069 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.8596, allocations: 378.7 kB / 0.7073 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.8597, allocations: 188.6 kB / 0.7075 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.8598, allocations: 33.7 kB / 0.7075 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.8599, allocations: 193.9 kB / 0.7077 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/0.86, allocations: 114.5 kB / 0.7078 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.8602, allocations: 122.1 kB / 0.7079 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8603, allocations: 333.4 kB / 0.7082 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.8605, allocations: 82.56 kB / 0.7083 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.8608, allocations: 342.7 kB / 0.7086 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.8614, allocations: 484.4 kB / 0.7091 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.8615, allocations: 4 kB / 0.7091 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000838/0.8623, allocations: 474.7 kB / 0.7096 GB, free: 392 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8623, allocations: 8 kB / 0.7096 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.8623, allocations: 12.88 kB / 0.7096 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.8624, allocations: 12 kB / 0.7096 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.864, allocations: 212.3 kB / 0.7098 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006992/0.8647, allocations: 1.189 MB / 0.711 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.8651, allocations: 20 kB / 0.711 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.8652, allocations: 39.98 kB / 0.711 GB, free: 14.87 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.0002432/0.8654, allocations: 182.7 kB / 0.7112 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.8655, allocations: 26.81 kB / 0.7112 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.8685, allocations: 2.824 MB / 0.714 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.8685, allocations: 19.97 kB / 0.714 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8686, allocations: 4 kB / 0.714 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8686, allocations: 11.92 kB / 0.714 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.8696, allocations: 0.9666 MB / 0.7149 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8696, allocations: 8 kB / 0.715 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.8702, allocations: 95.52 kB / 0.715 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.8704, allocations: 160.5 kB / 0.7152 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.8705, allocations: 19.61 kB / 0.7152 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004263/0.8709, allocations: 0.6446 MB / 0.7158 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8709, allocations: 0 / 0.7158 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.8722, allocations: 0.9817 MB / 0.7168 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8723, allocations: 124.5 kB / 0.7169 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.8725, allocations: 94 kB / 0.717 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.8728, allocations: 19.98 kB / 0.717 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.8729, allocations: 31.91 kB / 0.7171 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.8729, allocations: 19.98 kB / 0.7171 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005291/0.8734, allocations: 471 kB / 0.7175 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8734, allocations: 0 / 0.7175 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007063/0.8805, allocations: 1.608 MB / 0.7191 GB, free: 6.477 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.01142/0.8919, allocations: 3.11 MB / 0.7221 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.8936, allocations: 0.548 MB / 0.7227 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8936, allocations: 0.8125 kB / 0.7227 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.894, allocations: 361.4 kB / 0.723 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.8949, allocations: 127.6 kB / 0.7231 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8335/1.728, allocations: 352.2 MB / 1.067 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.729, allocations: 0.9858 MB / 1.068 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005787/1.729, allocations: 0.5045 MB / 1.069 GB, free: 166.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/1.73, allocations: 319.3 kB / 1.069 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/1.73, allocations: 0 / 1.069 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09879/1.828, allocations: 66.55 MB / 1.134 GB, free: 99.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.16, allocations: 3.938 kB / 1.134 GB, free: 99.97 MB / 0.6075 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches