Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 76.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8425/0.8425, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1472/0.1472, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.368e-05, allocations: 5.516 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2509/0.2509, allocations: 39.53 MB / 446.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.2569, allocations: 4.064 MB / 450.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.2577, allocations: 31.31 kB / 450.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2587, allocations: 304 kB / 450.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.261, allocations: 0.9077 MB / 451.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.264, allocations: 0.9515 MB / 452.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.2672, allocations: 1.828 MB / 454.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.268, allocations: 393.1 kB / 454.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06462/0.3326, allocations: 44.52 MB / 499.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3429, allocations: 7.896 MB / 0.4954 GB, free: 3.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.3431, allocations: 60 kB / 0.4954 GB, free: 2.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.3568, allocations: 10.59 MB / 0.5058 GB, free: 8.289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.3578, allocations: 279.1 kB / 0.506 GB, free: 8.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.3584, allocations: 283.4 kB / 0.5063 GB, free: 7.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.36, allocations: 1.118 MB / 0.5074 GB, free: 6.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.36, allocations: 5.688 kB / 0.5074 GB, free: 6.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.36, allocations: 0 / 0.5074 GB, free: 6.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.3601, allocations: 0 / 0.5074 GB, free: 6.613 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002206/0.3623, allocations: 0.9873 MB / 0.5084 GB, free: 5.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3623, allocations: 8.031 kB / 0.5084 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3624, allocations: 102.2 kB / 0.5085 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.3627, allocations: 100.3 kB / 0.5086 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.3634, allocations: 478 kB / 0.509 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3635, allocations: 152.4 kB / 0.5092 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.3636, allocations: 52.36 kB / 0.5092 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.3648, allocations: 1.094 MB / 0.5103 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3648, allocations: 7.938 kB / 0.5103 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.3648, allocations: 24 kB / 0.5103 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.3649, allocations: 36.98 kB / 0.5104 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.3657, allocations: 0.6455 MB / 0.511 GB, free: 2.711 MB / 410.7 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.003327/0.369, allocations: 3.411 MB / 0.5143 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.3696, allocations: 396.9 kB / 0.5147 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.3698, allocations: 193.4 kB / 0.5149 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.37, allocations: 49.59 kB / 0.5149 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3701, allocations: 38.89 kB / 0.515 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.998e-06/0.3701, allocations: 4 kB / 0.515 GB, free: 14.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.002164/0.3722, allocations: 1.458 MB / 0.5164 GB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3723, allocations: 140.5 kB / 0.5165 GB, free: 12.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.3728, allocations: 0.5809 MB / 0.5171 GB, free: 12.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.3728, allocations: 37.7 kB / 0.5171 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.373, allocations: 351.9 kB / 0.5175 GB, free: 11.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.3731, allocations: 174.5 kB / 0.5176 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3732, allocations: 142.6 kB / 0.5178 GB, free: 11.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3733, allocations: 370.8 kB / 0.5181 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3736, allocations: 225.9 kB / 0.5183 GB, free: 10.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.374, allocations: 0.6032 MB / 0.5189 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.3749, allocations: 0.7767 MB / 0.5197 GB, free: 9.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3749, allocations: 7.875 kB / 0.5197 GB, free: 9.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001069/0.376, allocations: 0.9411 MB / 0.5206 GB, free: 8.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.376, allocations: 12 kB / 0.5206 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.376, allocations: 8 kB / 0.5206 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.3766, allocations: 261.8 kB / 0.5209 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3769, allocations: 119.8 kB / 0.521 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007026/0.3776, allocations: 0.8697 MB / 0.5218 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.3779, allocations: 27.94 kB / 0.5219 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.3779, allocations: 35.98 kB / 0.5219 GB, free: 6.965 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.3782, allocations: 245.5 kB / 0.5221 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.3783, allocations: 71.52 kB / 0.5222 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.3792, allocations: 0.7178 MB / 0.5229 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.3792, allocations: 4 kB / 0.5229 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3792, allocations: 4 kB / 0.5229 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3792, allocations: 3.984 kB / 0.5229 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3806, allocations: 1.305 MB / 0.5242 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3806, allocations: 0 / 0.5242 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.3812, allocations: 191.8 kB / 0.5244 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.3813, allocations: 51.7 kB / 0.5244 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3813, allocations: 26.3 kB / 0.5245 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.3834, allocations: 2.768 MB / 0.5272 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3834, allocations: 8.25 kB / 0.5272 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.3843, allocations: 1.003 MB / 0.5281 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.3845, allocations: 123.5 kB / 0.5283 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.3846, allocations: 15.31 kB / 0.5283 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3848, allocations: 19.98 kB / 0.5283 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.3848, allocations: 43.81 kB / 0.5283 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3849, allocations: 19.98 kB / 0.5284 GB, free: 4 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003548/0.3852, allocations: 423 kB / 0.5288 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3852, allocations: 4.062 kB / 0.5288 GB, free: 15.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000559/0.3858, allocations: 207.9 kB / 0.529 GB, free: 15.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.3874, allocations: 1.688 MB / 0.5306 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.3883, allocations: 0.5816 MB / 0.5312 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3883, allocations: 0.625 kB / 0.5312 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006961/0.389, allocations: 478 kB / 0.5316 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/0.39, allocations: 372.4 kB / 0.532 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.397, allocations: 6.477 MB / 0.5383 GB, free: 5.355 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3973, allocations: 341.4 kB / 0.5386 GB, free: 4.996 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.3978, allocations: 205.5 kB / 0.5388 GB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3981, allocations: 232.4 kB / 0.5391 GB, free: 4.574 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3981, allocations: 0 / 0.5391 GB, free: 4.574 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.4393, allocations: 23.71 MB / 0.5622 GB, free: 12.83 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.539, allocations: 11.89 kB / 0.5622 GB, free: 12.82 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.594680708833039]