Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001612/0.001613, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.001634/0.001634, allocations: 192.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.329/1.329, 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.191/0.191, allocations: 43.52 MB / 314.1 MB, free: 452 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.001446/0.001446, allocations: 67.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09857, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3865/0.4851, allocations: 147.6 MB / 0.6315 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007708/0.4928, allocations: 5.582 MB / 0.637 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.4937, allocations: 23.88 kB / 0.637 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.495, allocations: 322 kB / 0.6373 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.497, allocations: 0.8589 MB / 0.6382 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.4997, allocations: 1.023 MB / 0.6392 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.502, allocations: 1.794 MB / 0.6409 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008398/0.5028, allocations: 466.4 kB / 0.6414 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.5043, allocations: 0.763 MB / 0.6421 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.5056, allocations: 0.7047 MB / 0.6428 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.5059, allocations: 60 kB / 0.6428 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.5073, allocations: 0.5459 MB / 0.6434 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.5077, allocations: 259.2 kB / 0.6436 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.5085, allocations: 398.2 kB / 0.644 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.5102, allocations: 1.136 MB / 0.6451 GB, free: 9.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5102, allocations: 0 / 0.6451 GB, free: 9.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5102, allocations: 0 / 0.6451 GB, free: 9.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5102, allocations: 4 kB / 0.6451 GB, free: 9.363 MB / 494.1 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.002039/0.5122, allocations: 1.052 MB / 0.6461 GB, free: 8.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5123, allocations: 11.89 kB / 0.6462 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5124, allocations: 106.6 kB / 0.6463 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.5128, allocations: 92.08 kB / 0.6463 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.5137, allocations: 0.5365 MB / 0.6469 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5138, allocations: 109 kB / 0.647 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.5139, allocations: 44.38 kB / 0.647 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5152, allocations: 0.8188 MB / 0.6478 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5152, allocations: 3.938 kB / 0.6478 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.5153, allocations: 23.98 kB / 0.6478 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.5153, allocations: 40.97 kB / 0.6479 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5164, allocations: 0.6517 MB / 0.6485 GB, free: 5.707 MB / 494.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.004694/0.5211, allocations: 3.963 MB / 0.6524 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.5219, allocations: 426.6 kB / 0.6528 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5223, allocations: 209.4 kB / 0.653 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.5229, allocations: 0.7366 MB / 0.6537 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5229, allocations: 38.89 kB / 0.6537 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.5229, allocations: 0 / 0.6537 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003057/0.526, allocations: 1.543 MB / 0.6553 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/0.5261, allocations: 132.5 kB / 0.6554 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.5267, allocations: 0.5731 MB / 0.6559 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.5268, allocations: 33.7 kB / 0.656 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.527, allocations: 351 kB / 0.6563 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.5271, allocations: 165.7 kB / 0.6565 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.5273, allocations: 138.6 kB / 0.6566 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5275, allocations: 370.8 kB / 0.657 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.5278, allocations: 217.9 kB / 0.6572 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.5284, allocations: 0.5201 MB / 0.6577 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.5294, allocations: 0.7562 MB / 0.6584 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5294, allocations: 0 / 0.6584 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001593/0.531, allocations: 0.9141 MB / 0.6593 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.531, allocations: 15.97 kB / 0.6593 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.531, allocations: 8 kB / 0.6593 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.5324, allocations: 288.6 kB / 0.6596 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5328, allocations: 123.8 kB / 0.6597 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.5339, allocations: 0.8913 MB / 0.6606 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.5343, allocations: 28.86 kB / 0.6606 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.5344, allocations: 36 kB / 0.6606 GB, free: 8.367 MB / 0.4981 GB 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.5347, allocations: 249.5 kB / 0.6609 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5348, allocations: 67.19 kB / 0.661 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.5361, allocations: 0.769 MB / 0.6617 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.5361, allocations: 4 kB / 0.6617 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5361, allocations: 3.938 kB / 0.6617 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5362, allocations: 11.92 kB / 0.6617 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.5382, allocations: 1.404 MB / 0.6631 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5382, allocations: 3.984 kB / 0.6631 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5393, allocations: 204 kB / 0.6633 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.5393, allocations: 24.84 kB / 0.6633 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.5394, allocations: 12.88 kB / 0.6633 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.5415, allocations: 2.878 MB / 0.6661 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5415, allocations: 4.031 kB / 0.6661 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.543, allocations: 1.012 MB / 0.6671 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.5434, allocations: 204.2 kB / 0.6673 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5435, allocations: 15.98 kB / 0.6673 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.5439, allocations: 16 kB / 0.6674 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.544, allocations: 43.61 kB / 0.6674 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.5441, allocations: 23.98 kB / 0.6674 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005223/0.5446, allocations: 431 kB / 0.6678 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5446, allocations: 4.062 kB / 0.6678 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007997/0.5454, allocations: 220 kB / 0.668 GB, free: 292 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002222/0.5477, allocations: 1.713 MB / 0.6697 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.549, allocations: 0.5948 MB / 0.6703 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.549, allocations: 4.562 kB / 0.6703 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5501, allocations: 458.3 kB / 0.6707 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.5518, allocations: 369.3 kB / 0.6711 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/0.5614, allocations: 6.464 MB / 0.6774 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.562, allocations: 0.9385 MB / 0.6783 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007306/0.5628, allocations: 218.1 kB / 0.6785 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.5631, allocations: 235.4 kB / 0.6788 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.956e-06/0.5632, allocations: 0 / 0.6788 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.6139, allocations: 22.87 MB / 0.7011 GB, free: 13.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.54, allocations: 11.91 kB / 0.7011 GB, free: 13.94 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches