Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_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.001677/0.001677, allocations: 102.5 kB / 17.63 MB, free: 5.344 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.001875/0.001876, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.18 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.75 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.108, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01542/0.1235, allocations: 13.81 MB / 483.2 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.1529, allocations: 26.59 MB / 0.4978 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.1532, allocations: 0 / 0.4978 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.1537, allocations: 95.39 kB / 0.4979 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2563/0.41, allocations: 8.517 MB / 0.5062 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.4108, allocations: 350.5 kB / 0.5066 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.4152, allocations: 2 MB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.4153, allocations: 21.88 kB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.4157, allocations: 256.9 kB / 0.5088 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006887/0.4226, allocations: 3.261 MB / 0.512 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.4227, allocations: 14.94 kB / 0.512 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02606/0.4488, allocations: 11.34 MB / 0.523 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.449, allocations: 50.66 kB / 0.5231 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.4493, allocations: 137.4 kB / 0.5232 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01962/0.4689, allocations: 6.757 MB / 0.5298 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.469, allocations: 0 / 0.5298 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.469, allocations: 0 / 0.5298 GB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.469, allocations: 1.75 kB / 0.5298 GB, free: 9.555 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.004887/0.4739, allocations: 1.618 MB / 0.5314 GB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.474, allocations: 9.906 kB / 0.5314 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.474, allocations: 68.89 kB / 0.5315 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.4755, allocations: 186.9 kB / 0.5317 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4757, allocations: 268.7 kB / 0.5319 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4757, allocations: 22.12 kB / 0.5319 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.4758, allocations: 38.06 kB / 0.532 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.4776, allocations: 0.7574 MB / 0.5327 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4776, allocations: 0 / 0.5327 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.4777, allocations: 11.81 kB / 0.5327 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4777, allocations: 14 kB / 0.5327 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.4795, allocations: 0.8152 MB / 0.5335 GB, free: 7.141 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.002514/0.4821, allocations: 2.713 MB / 0.5362 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4832, allocations: 347.4 kB / 0.5365 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4834, allocations: 71.45 kB / 0.5366 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3674/0.8507, allocations: 141 MB / 0.6743 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.8523, allocations: 455.2 kB / 0.6747 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 4.298e-06/0.8523, allocations: 3.891 kB / 0.6747 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.00398/0.8563, allocations: 1.122 MB / 0.6758 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.8565, allocations: 375.7 kB / 0.6762 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.8567, allocations: 187.6 kB / 0.6764 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.8567, allocations: 37.7 kB / 0.6764 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.8568, allocations: 179.3 kB / 0.6766 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.8569, allocations: 117 kB / 0.6767 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8571, allocations: 122.1 kB / 0.6768 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8572, allocations: 334.8 kB / 0.6771 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.8573, allocations: 78.39 kB / 0.6772 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.8577, allocations: 350 kB / 0.6775 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.8584, allocations: 489.8 kB / 0.678 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8584, allocations: 0 / 0.678 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008945/0.8593, allocations: 476.1 kB / 0.6784 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.8594, allocations: 8 kB / 0.6784 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.8594, allocations: 8 kB / 0.6785 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.8594, allocations: 12 kB / 0.6785 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.8609, allocations: 214 kB / 0.6787 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/0.8617, allocations: 1.187 MB / 0.6798 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.8621, allocations: 27.92 kB / 0.6799 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.8621, allocations: 39.98 kB / 0.6799 GB, free: 7.152 MB / 0.5294 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.0002128/0.8624, allocations: 161 kB / 0.68 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.8625, allocations: 31.91 kB / 0.6801 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.8656, allocations: 2.834 MB / 0.6828 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.8656, allocations: 23.97 kB / 0.6829 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.8656, allocations: 4.375 kB / 0.6829 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8656, allocations: 11.94 kB / 0.6829 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.8667, allocations: 0.9659 MB / 0.6838 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.8667, allocations: 0 / 0.6838 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.8673, allocations: 99.8 kB / 0.6839 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.8675, allocations: 157 kB / 0.6841 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.8676, allocations: 19.45 kB / 0.6841 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000402/0.868, allocations: 0.6382 MB / 0.6847 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.868, allocations: 7.469 kB / 0.6847 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.8693, allocations: 0.9875 MB / 0.6857 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.8694, allocations: 132.4 kB / 0.6858 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.8696, allocations: 90.72 kB / 0.6859 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.87, allocations: 19.98 kB / 0.6859 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.8701, allocations: 31.28 kB / 0.6859 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.8701, allocations: 12.88 kB / 0.686 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006105/0.8707, allocations: 483 kB / 0.6864 GB, free: 372 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8707, allocations: 0 / 0.6864 GB, free: 372 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004918/0.8756, allocations: 1.605 MB / 0.688 GB, free: 14.76 MB / 0.545 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.008849/0.8845, allocations: 3.134 MB / 0.691 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.8864, allocations: 0.5569 MB / 0.6916 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8864, allocations: 4 kB / 0.6916 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.8869, allocations: 359.7 kB / 0.6919 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.8877, allocations: 130 kB / 0.6921 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8445/1.732, allocations: 352.6 MB / 1.036 GB, free: 87.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/1.733, allocations: 0.9859 MB / 1.037 GB, free: 86.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009038/1.734, allocations: 0.5097 MB / 1.038 GB, free: 86.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/1.734, allocations: 315.3 kB / 1.038 GB, free: 85.89 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/1.734, allocations: 0 / 1.038 GB, free: 85.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3651/2.099, allocations: 66.39 MB / 1.103 GB, free: 178.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/17.63, allocations: 15.27 kB / 1.103 GB, free: 178.1 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches