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.001229/0.001229, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.001204/0.001204, allocations: 174.8 kB / 18.25 MB, free: 5.523 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.357/1.357, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1783/0.1784, allocations: 44.24 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 12.97 kB / 410.4 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01533/0.1274, allocations: 14.11 MB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04155/0.169, allocations: 27.85 MB / 0.5023 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1694, allocations: 4 kB / 0.5023 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.1699, allocations: 75.58 kB / 0.5023 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2362/0.4061, allocations: 6.824 MB / 0.509 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009487/0.4071, allocations: 321.9 kB / 0.5093 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003961/0.411, allocations: 2.029 MB / 0.5113 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.4111, allocations: 18.03 kB / 0.5113 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.4116, allocations: 260.4 kB / 0.5116 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/0.4172, allocations: 3.258 MB / 0.5147 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.4173, allocations: 12.41 kB / 0.5148 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0234/0.4407, allocations: 11.5 MB / 0.526 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4409, allocations: 46 kB / 0.526 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.4412, allocations: 161.8 kB / 0.5262 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.4566, allocations: 6.745 MB / 0.5328 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4566, allocations: 0 / 0.5328 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4566, allocations: 0 / 0.5328 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4567, allocations: 0 / 0.5328 GB, free: 8.48 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.004312/0.461, allocations: 1.554 MB / 0.5343 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.461, allocations: 7.156 kB / 0.5343 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.953e-05/0.4611, allocations: 72.66 kB / 0.5344 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4625, allocations: 185.9 kB / 0.5345 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4627, allocations: 264.3 kB / 0.5348 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4627, allocations: 27.41 kB / 0.5348 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.4628, allocations: 34.33 kB / 0.5349 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.4646, allocations: 0.7558 MB / 0.5356 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4646, allocations: 5.781 kB / 0.5356 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.4647, allocations: 17.08 kB / 0.5356 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4647, allocations: 7.656 kB / 0.5356 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.4665, allocations: 0.8199 MB / 0.5364 GB, free: 6.57 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.00252/0.469, allocations: 2.718 MB / 0.5391 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.47, allocations: 344.8 kB / 0.5394 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.4702, allocations: 74.36 kB / 0.5395 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3602/0.8304, allocations: 142.3 MB / 0.6784 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.8317, allocations: 460.1 kB / 0.6789 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.847e-06/0.8317, allocations: 0 / 0.6789 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003767/0.8355, allocations: 1.127 MB / 0.68 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.8357, allocations: 366.7 kB / 0.6803 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.8359, allocations: 185.3 kB / 0.6805 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.8359, allocations: 29.7 kB / 0.6805 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.836, allocations: 185.8 kB / 0.6807 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.8362, allocations: 121.9 kB / 0.6808 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.8362, allocations: 45.7 kB / 0.6809 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8364, allocations: 333.5 kB / 0.6812 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.8365, allocations: 81.06 kB / 0.6813 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.8369, allocations: 340.4 kB / 0.6816 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.8375, allocations: 484.1 kB / 0.682 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.8375, allocations: 7.844 kB / 0.6821 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008239/0.8383, allocations: 475.1 kB / 0.6825 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8383, allocations: 10.5 kB / 0.6825 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.8384, allocations: 12 kB / 0.6825 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.8384, allocations: 12 kB / 0.6825 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.8399, allocations: 212.7 kB / 0.6827 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006299/0.8406, allocations: 1.188 MB / 0.6839 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.8409, allocations: 24.5 kB / 0.6839 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.841, allocations: 43.98 kB / 0.684 GB, free: 5.219 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.0001893/0.8412, allocations: 167.5 kB / 0.6841 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.8412, allocations: 27.72 kB / 0.6842 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.8443, allocations: 2.835 MB / 0.6869 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.8443, allocations: 23.97 kB / 0.6869 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.8444, allocations: 4 kB / 0.687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.8444, allocations: 11.92 kB / 0.687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.8455, allocations: 0.9618 MB / 0.6879 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8456, allocations: 4 kB / 0.6879 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.8461, allocations: 101.8 kB / 0.688 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.8464, allocations: 167.6 kB / 0.6882 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.8464, allocations: 11.98 kB / 0.6882 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.8468, allocations: 0.6409 MB / 0.6888 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8469, allocations: 7.094 kB / 0.6888 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.848, allocations: 0.9781 MB / 0.6898 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.8483, allocations: 350.9 kB / 0.6901 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.8484, allocations: 12 kB / 0.6901 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.8488, allocations: 19.98 kB / 0.6901 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.8488, allocations: 38.72 kB / 0.6902 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.8488, allocations: 12 kB / 0.6902 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005426/0.8494, allocations: 475 kB / 0.6906 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8494, allocations: 0 / 0.6906 GB, free: 14.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005125/0.8545, allocations: 1.607 MB / 0.6922 GB, free: 12.7 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.009711/0.8643, allocations: 3.127 MB / 0.6953 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.8659, allocations: 0.5422 MB / 0.6958 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8659, allocations: 0 / 0.6958 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.8664, allocations: 361.9 kB / 0.6961 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8676, allocations: 133.9 kB / 0.6963 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8205/1.688, allocations: 352.6 MB / 1.041 GB, free: 84.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.688, allocations: 0.9865 MB / 1.042 GB, free: 83.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007306/1.689, allocations: 0.509 MB / 1.042 GB, free: 83.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/1.69, allocations: 323.3 kB / 1.042 GB, free: 83.09 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.69, allocations: 0 / 1.042 GB, free: 83.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/2.026, allocations: 65.83 MB / 1.107 GB, free: 171.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/2.027, allocations: 258.8 kB / 1.107 GB, free: 171.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.786/7.813, allocations: 0 / 1.107 GB, free: 171.6 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