Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001117/0.001117, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001001/0.001001, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2101/0.2101, allocations: 43.53 MB / 314.1 MB, free: 476 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.001412/0.001412, allocations: 67.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1074, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03297/0.1404, allocations: 30.09 MB / 0.5168 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007047/0.1475, allocations: 4.589 MB / 0.5213 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.1481, allocations: 23.81 kB / 0.5213 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008927/0.1491, allocations: 306.1 kB / 0.5216 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004612/0.1537, allocations: 1.798 MB / 0.5233 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.1575, allocations: 1.5 MB / 0.5248 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.1602, allocations: 1.844 MB / 0.5266 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007299/0.1609, allocations: 485.4 kB / 0.5271 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/0.1673, allocations: 3.172 MB / 0.5302 GB, free: 364 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2651/0.4324, allocations: 1.261 MB / 0.5314 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.4327, allocations: 61.56 kB / 0.5315 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.4358, allocations: 1.446 MB / 0.5329 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.4362, allocations: 261.7 kB / 0.5331 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.4368, allocations: 408.5 kB / 0.5335 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.4393, allocations: 1.487 MB / 0.535 GB, free: 6.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4393, allocations: 1.75 kB / 0.535 GB, free: 6.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4393, allocations: 3.188 kB / 0.535 GB, free: 6.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4394, allocations: 1.562 kB / 0.535 GB, free: 6.828 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002367/0.4417, allocations: 1.176 MB / 0.5361 GB, free: 6.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4418, allocations: 14.7 kB / 0.5361 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.4419, allocations: 98.83 kB / 0.5362 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.443, allocations: 147 kB / 0.5364 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.444, allocations: 0.5475 MB / 0.5369 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.4441, allocations: 106 kB / 0.537 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.4442, allocations: 47.33 kB / 0.5371 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.4457, allocations: 0.8426 MB / 0.5379 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4457, allocations: 3.984 kB / 0.5379 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.4458, allocations: 28.58 kB / 0.5379 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.4459, allocations: 35.06 kB / 0.5379 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4471, allocations: 0.605 MB / 0.5385 GB, free: 5.496 MB / 414.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.00456/0.4516, allocations: 4.884 MB / 0.5433 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.4523, allocations: 331.3 kB / 0.5436 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.4525, allocations: 142.6 kB / 0.5438 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/0.4529, allocations: 0.6057 MB / 0.5443 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.4529, allocations: 42.64 kB / 0.5444 GB, free: 1.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.453, allocations: 0 / 0.5444 GB, free: 1.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003961/0.4569, allocations: 1.554 MB / 0.5459 GB, free: 16.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.457, allocations: 134.2 kB / 0.546 GB, free: 16.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009752/0.458, allocations: 0.6545 MB / 0.5467 GB, free: 16.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.4581, allocations: 35.86 kB / 0.5467 GB, free: 16.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.4584, allocations: 402.7 kB / 0.5471 GB, free: 16.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4585, allocations: 139.6 kB / 0.5472 GB, free: 16.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.4588, allocations: 155 kB / 0.5474 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4589, allocations: 375.2 kB / 0.5477 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.4593, allocations: 203 kB / 0.5479 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.4598, allocations: 0.5008 MB / 0.5484 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.4607, allocations: 0.7135 MB / 0.5491 GB, free: 14.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4607, allocations: 2.406 kB / 0.5491 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.4624, allocations: 0.9026 MB / 0.55 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4624, allocations: 9.188 kB / 0.55 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4625, allocations: 8.719 kB / 0.55 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4637, allocations: 292.6 kB / 0.5503 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4641, allocations: 122.8 kB / 0.5504 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4653, allocations: 1.401 MB / 0.5518 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.4659, allocations: 26.31 kB / 0.5518 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.4659, allocations: 50.19 kB / 0.5518 GB, free: 13.77 MB / 430.1 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.4663, allocations: 243.7 kB / 0.5521 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.4665, allocations: 79.42 kB / 0.5522 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.468, allocations: 0.6532 MB / 0.5528 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.468, allocations: 4.75 kB / 0.5528 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.468, allocations: 0 / 0.5528 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.468, allocations: 5.297 kB / 0.5528 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.4701, allocations: 1.228 MB / 0.554 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.4701, allocations: 0.9688 kB / 0.554 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4703, allocations: 42.22 kB / 0.554 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.4712, allocations: 212 kB / 0.5542 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.4712, allocations: 11.92 kB / 0.5543 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/0.4722, allocations: 1.299 MB / 0.5555 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4722, allocations: 3.938 kB / 0.5555 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4734, allocations: 0.8203 MB / 0.5563 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.4737, allocations: 194.3 kB / 0.5565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4738, allocations: 5.906 kB / 0.5565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4742, allocations: 18.47 kB / 0.5565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.4743, allocations: 24.53 kB / 0.5566 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.4743, allocations: 24.95 kB / 0.5566 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.4749, allocations: 454.1 kB / 0.557 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4749, allocations: 0 / 0.557 GB, free: 11.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001087/0.476, allocations: 296.3 kB / 0.5573 GB, free: 11.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002318/0.4783, allocations: 1.612 MB / 0.5589 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4795, allocations: 0.5325 MB / 0.5594 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4795, allocations: 1.375 kB / 0.5594 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.48, allocations: 228.1 kB / 0.5596 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4815, allocations: 339.2 kB / 0.5599 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.4894, allocations: 6.176 MB / 0.566 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.49, allocations: 0.9297 MB / 0.5669 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006792/0.4907, allocations: 203.8 kB / 0.5671 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.491, allocations: 230 kB / 0.5673 GB, free: 7.297 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.491, allocations: 2.219 kB / 0.5673 GB, free: 7.297 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.537, allocations: 23.06 MB / 0.5898 GB, free: 7.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.66, allocations: 15.81 kB / 0.5898 GB, free: 7.348 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches