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.0014/0.0014, allocations: 113.5 kB / 16.41 MB, free: 6.488 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.001432/0.001432, allocations: 188.1 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.494/1.494, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2287/0.2287, allocations: 43.52 MB / 314.1 MB, free: 464 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.002047/0.002047, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, 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.03901/0.1778, allocations: 30.09 MB / 0.5168 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007756/0.1856, allocations: 4.585 MB / 0.5213 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007456/0.1864, allocations: 23.81 kB / 0.5213 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1875, allocations: 306 kB / 0.5216 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.1923, allocations: 1.771 MB / 0.5233 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.1961, allocations: 1.492 MB / 0.5248 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002713/0.1988, allocations: 1.852 MB / 0.5266 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.1996, allocations: 477.4 kB / 0.527 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/0.2054, allocations: 3.152 MB / 0.5301 GB, free: 416 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2953/0.5007, allocations: 1.273 MB / 0.5314 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.5011, allocations: 58.56 kB / 0.5314 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.5047, allocations: 1.445 MB / 0.5328 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005821/0.5053, allocations: 266 kB / 0.5331 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009776/0.5063, allocations: 402.4 kB / 0.5335 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.5104, allocations: 1.49 MB / 0.5349 GB, free: 6.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5104, allocations: 3.406 kB / 0.5349 GB, free: 6.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5104, allocations: 0 / 0.5349 GB, free: 6.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5104, allocations: 1.219 kB / 0.5349 GB, free: 6.801 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.002644/0.5131, allocations: 1.174 MB / 0.5361 GB, free: 6.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5131, allocations: 12.64 kB / 0.5361 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.5133, allocations: 104.9 kB / 0.5362 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5143, allocations: 146.8 kB / 0.5363 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.5152, allocations: 0.5397 MB / 0.5369 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.5154, allocations: 106.9 kB / 0.537 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.5155, allocations: 52.69 kB / 0.537 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.517, allocations: 0.8388 MB / 0.5378 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.517, allocations: 6.094 kB / 0.5378 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.5171, allocations: 27.78 kB / 0.5379 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/0.5172, allocations: 40.69 kB / 0.5379 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5184, allocations: 0.6072 MB / 0.5385 GB, free: 5.469 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.005287/0.5237, allocations: 4.879 MB / 0.5433 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.5245, allocations: 333.4 kB / 0.5436 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.5247, allocations: 140.8 kB / 0.5437 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/0.5251, allocations: 0.6087 MB / 0.5443 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5252, allocations: 38.53 kB / 0.5443 GB, free: 1.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.5252, allocations: 0 / 0.5443 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004233/0.5294, allocations: 1.549 MB / 0.5458 GB, free: 16.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5295, allocations: 134.8 kB / 0.546 GB, free: 16.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5306, allocations: 0.6595 MB / 0.5466 GB, free: 16.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.5306, allocations: 36.19 kB / 0.5467 GB, free: 16.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.5309, allocations: 397.7 kB / 0.547 GB, free: 16.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5311, allocations: 138.6 kB / 0.5472 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.5314, allocations: 156.3 kB / 0.5473 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.5316, allocations: 377.3 kB / 0.5477 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.532, allocations: 205.1 kB / 0.5479 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.5326, allocations: 0.4957 MB / 0.5484 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/0.5335, allocations: 0.7138 MB / 0.5491 GB, free: 14.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5335, allocations: 2.688 kB / 0.5491 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001905/0.5354, allocations: 0.9018 MB / 0.5499 GB, free: 14.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.5355, allocations: 13.59 kB / 0.5499 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5355, allocations: 9 kB / 0.55 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.5369, allocations: 294.5 kB / 0.5502 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.5373, allocations: 127 kB / 0.5504 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.5387, allocations: 1.391 MB / 0.5517 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.5393, allocations: 32.42 kB / 0.5517 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.5394, allocations: 46.34 kB / 0.5518 GB, free: 13.73 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.0004402/0.5399, allocations: 247 kB / 0.552 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.54, allocations: 82.59 kB / 0.5521 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.5416, allocations: 0.6512 MB / 0.5527 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5417, allocations: 4.594 kB / 0.5527 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.5417, allocations: 1.312 kB / 0.5527 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.5417, allocations: 2.016 kB / 0.5527 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.5441, allocations: 1.226 MB / 0.5539 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5441, allocations: 5.188 kB / 0.554 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5443, allocations: 39.58 kB / 0.554 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009081/0.5452, allocations: 209.2 kB / 0.5542 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5452, allocations: 15.84 kB / 0.5542 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.5465, allocations: 1.288 MB / 0.5555 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5465, allocations: 5.406 kB / 0.5555 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.548, allocations: 0.8245 MB / 0.5563 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5484, allocations: 187.8 kB / 0.5565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5485, allocations: 9.312 kB / 0.5565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.5488, allocations: 19.33 kB / 0.5565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.5489, allocations: 24.41 kB / 0.5565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.549, allocations: 29.19 kB / 0.5565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006524/0.5497, allocations: 455.3 kB / 0.557 GB, free: 11.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5497, allocations: 0 / 0.557 GB, free: 11.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001429/0.5511, allocations: 293 kB / 0.5572 GB, free: 11.6 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.002861/0.554, allocations: 1.62 MB / 0.5588 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.5555, allocations: 0.5343 MB / 0.5593 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.5555, allocations: 1.438 kB / 0.5593 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.5561, allocations: 228.8 kB / 0.5596 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.5579, allocations: 336.8 kB / 0.5599 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.5685, allocations: 6.168 MB / 0.5659 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.5692, allocations: 0.9323 MB / 0.5668 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008284/0.5701, allocations: 210.3 kB / 0.567 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.5704, allocations: 232.7 kB / 0.5672 GB, free: 7.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5705, allocations: 0 / 0.5672 GB, free: 7.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06375/0.6342, allocations: 23.05 MB / 0.5898 GB, free: 7.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.59, allocations: 15.88 kB / 0.5898 GB, free: 7.375 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