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.001279/0.00128, allocations: 109.6 kB / 16.41 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.001109/0.001109, 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.531/1.531, 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.2295/0.2295, allocations: 43.52 MB / 314.1 MB, free: 456 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.001779/0.001779, allocations: 71.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.04005/0.1846, allocations: 30.1 MB / 0.5168 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008771/0.1934, allocations: 4.581 MB / 0.5213 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1946, allocations: 27.75 kB / 0.5213 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1961, allocations: 294.1 kB / 0.5216 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.2031, allocations: 1.767 MB / 0.5233 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004714/0.2078, allocations: 1.492 MB / 0.5248 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.211, allocations: 1.848 MB / 0.5266 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008649/0.2118, allocations: 485.4 kB / 0.527 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005934/0.2178, allocations: 3.164 MB / 0.5301 GB, free: 392 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3621/0.5799, allocations: 1.269 MB / 0.5314 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.5803, allocations: 58.69 kB / 0.5314 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.5842, allocations: 1.45 MB / 0.5328 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004875/0.5847, allocations: 263.4 kB / 0.5331 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007873/0.5855, allocations: 401.6 kB / 0.5335 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.5888, allocations: 1.489 MB / 0.5349 GB, free: 6.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5889, allocations: 0 / 0.5349 GB, free: 6.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5889, allocations: 0 / 0.5349 GB, free: 6.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5889, allocations: 1.188 kB / 0.5349 GB, free: 6.918 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.002545/0.5914, allocations: 1.145 MB / 0.536 GB, free: 6.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.5915, allocations: 13.89 kB / 0.5361 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.5916, allocations: 103 kB / 0.5361 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5928, allocations: 144.5 kB / 0.5363 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.5939, allocations: 0.5373 MB / 0.5368 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5941, allocations: 108.1 kB / 0.5369 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5942, allocations: 44.88 kB / 0.537 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.5961, allocations: 0.8435 MB / 0.5378 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.5961, allocations: 5.125 kB / 0.5378 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.5962, allocations: 24.41 kB / 0.5378 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.31e-05/0.5963, allocations: 42.11 kB / 0.5379 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.5977, allocations: 0.6046 MB / 0.5384 GB, free: 5.75 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.005726/0.6034, allocations: 4.883 MB / 0.5432 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/0.6044, allocations: 333.2 kB / 0.5435 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.6047, allocations: 143 kB / 0.5437 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.6053, allocations: 0.6085 MB / 0.5443 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.6053, allocations: 37.81 kB / 0.5443 GB, free: 1.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.986e-06/0.6053, allocations: 0 / 0.5443 GB, free: 1.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00488/0.6102, allocations: 1.533 MB / 0.5458 GB, free: 16.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.6103, allocations: 133.6 kB / 0.5459 GB, free: 16.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6116, allocations: 0.6571 MB / 0.5466 GB, free: 16.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.6117, allocations: 36.11 kB / 0.5466 GB, free: 16.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.612, allocations: 386.3 kB / 0.547 GB, free: 16.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.6122, allocations: 142.1 kB / 0.5471 GB, free: 16.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.6125, allocations: 155.4 kB / 0.5472 GB, free: 16.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.6128, allocations: 382.3 kB / 0.5476 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.6132, allocations: 200.8 kB / 0.5478 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.6138, allocations: 0.4976 MB / 0.5483 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6149, allocations: 0.7134 MB / 0.549 GB, free: 15.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6149, allocations: 6.656 kB / 0.549 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002026/0.6169, allocations: 0.8912 MB / 0.5499 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6169, allocations: 9.219 kB / 0.5499 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.617, allocations: 12.58 kB / 0.5499 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.6184, allocations: 291.8 kB / 0.5502 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.6189, allocations: 123.6 kB / 0.5503 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.6204, allocations: 1.404 MB / 0.5516 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.6211, allocations: 24.95 kB / 0.5517 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.6212, allocations: 47.61 kB / 0.5517 GB, free: 14.04 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.0005006/0.6217, allocations: 243.5 kB / 0.552 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.6219, allocations: 75.94 kB / 0.552 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.6236, allocations: 0.6486 MB / 0.5527 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6237, allocations: 5.375 kB / 0.5527 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6237, allocations: 0 / 0.5527 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6237, allocations: 1.688 kB / 0.5527 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.6261, allocations: 1.228 MB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6262, allocations: 1.062 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.6263, allocations: 38.17 kB / 0.5539 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009527/0.6273, allocations: 208.5 kB / 0.5541 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.6273, allocations: 14.91 kB / 0.5541 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.6285, allocations: 1.3 MB / 0.5554 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6285, allocations: 4.938 kB / 0.5554 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.6299, allocations: 0.8179 MB / 0.5562 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.6304, allocations: 184.2 kB / 0.5564 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6305, allocations: 11.66 kB / 0.5564 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.6309, allocations: 22.92 kB / 0.5564 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.631, allocations: 26.55 kB / 0.5564 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.631, allocations: 24.83 kB / 0.5564 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006839/0.6317, allocations: 454.9 kB / 0.5569 GB, free: 11.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6317, allocations: 0 / 0.5569 GB, free: 11.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001377/0.6331, allocations: 295.6 kB / 0.5572 GB, free: 11.91 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.002784/0.6359, allocations: 1.603 MB / 0.5587 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.6374, allocations: 0.5339 MB / 0.5592 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6374, allocations: 5.312 kB / 0.5593 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.638, allocations: 221.6 kB / 0.5595 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.6399, allocations: 340.3 kB / 0.5598 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6504, allocations: 6.151 MB / 0.5658 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.6512, allocations: 0.9299 MB / 0.5667 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.6522, allocations: 204 kB / 0.5669 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.6526, allocations: 229.8 kB / 0.5671 GB, free: 7.59 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6526, allocations: 0 / 0.5671 GB, free: 7.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05624/0.7089, allocations: 23.39 MB / 0.59 GB, free: 7.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.23, allocations: 11.81 kB / 0.59 GB, free: 7.336 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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