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.001055/0.00106, allocations: 104 kB / 16.4 MB, free: 6.465 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.001165/0.001165, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.301/1.301, 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.1944/0.1944, allocations: 43.53 MB / 314.1 MB, free: 448 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.001378/0.001378, allocations: 71.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1018, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.364/0.4658, allocations: 147.6 MB / 0.6315 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.4728, allocations: 5.584 MB / 0.637 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.4735, allocations: 19.88 kB / 0.637 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.4745, allocations: 333.9 kB / 0.6373 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.4764, allocations: 0.8668 MB / 0.6382 GB, free: 496 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.479, allocations: 1.027 MB / 0.6392 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.481, allocations: 1.805 MB / 0.6409 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.4817, allocations: 460.2 kB / 0.6414 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.483, allocations: 0.7708 MB / 0.6421 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.484, allocations: 0.6969 MB / 0.6428 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.4842, allocations: 64 kB / 0.6429 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4854, allocations: 0.5381 MB / 0.6434 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.4857, allocations: 267.2 kB / 0.6437 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.4862, allocations: 402.2 kB / 0.644 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.4879, allocations: 1.137 MB / 0.6451 GB, free: 9.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4879, allocations: 0 / 0.6451 GB, free: 9.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4879, allocations: 0 / 0.6451 GB, free: 9.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.488, allocations: 0 / 0.6451 GB, free: 9.328 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.002086/0.4901, allocations: 1.082 MB / 0.6462 GB, free: 8.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4901, allocations: 11.89 kB / 0.6462 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.4902, allocations: 98.64 kB / 0.6463 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.4906, allocations: 100.5 kB / 0.6464 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.4915, allocations: 0.5331 MB / 0.6469 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.4916, allocations: 108.9 kB / 0.647 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.4917, allocations: 52.31 kB / 0.6471 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.493, allocations: 0.8266 MB / 0.6479 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.493, allocations: 0 / 0.6479 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.4931, allocations: 20 kB / 0.6479 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.4931, allocations: 36.98 kB / 0.6479 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.4941, allocations: 0.6556 MB / 0.6486 GB, free: 5.641 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.004616/0.4988, allocations: 3.956 MB / 0.6524 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.4996, allocations: 436.1 kB / 0.6529 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.5, allocations: 202.3 kB / 0.6531 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.5006, allocations: 0.7405 MB / 0.6538 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5006, allocations: 42.83 kB / 0.6538 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.5007, allocations: 0 / 0.6538 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003246/0.5039, allocations: 1.552 MB / 0.6553 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.504, allocations: 136.5 kB / 0.6555 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.5047, allocations: 0.5693 MB / 0.656 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.5048, allocations: 37.7 kB / 0.6561 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.5051, allocations: 363.9 kB / 0.6564 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5052, allocations: 174.5 kB / 0.6566 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.5054, allocations: 142.6 kB / 0.6567 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5055, allocations: 378.8 kB / 0.6571 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.5059, allocations: 213.9 kB / 0.6573 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.5065, allocations: 0.5084 MB / 0.6578 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.5075, allocations: 0.7601 MB / 0.6585 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5075, allocations: 8 kB / 0.6585 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001655/0.5091, allocations: 0.9114 MB / 0.6594 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.5092, allocations: 11.94 kB / 0.6594 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.5092, allocations: 8 kB / 0.6594 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5106, allocations: 291.2 kB / 0.6597 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.511, allocations: 123.8 kB / 0.6598 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.5121, allocations: 0.8841 MB / 0.6607 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.5126, allocations: 28.81 kB / 0.6607 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.5127, allocations: 35.94 kB / 0.6607 GB, free: 8.266 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.000376/0.5131, allocations: 246 kB / 0.661 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.5133, allocations: 71.58 kB / 0.6611 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5146, allocations: 0.7724 MB / 0.6618 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5147, allocations: 4 kB / 0.6618 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5147, allocations: 3.938 kB / 0.6618 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.5147, allocations: 3.938 kB / 0.6618 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.5169, allocations: 1.416 MB / 0.6632 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.5169, allocations: 0 / 0.6632 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.518, allocations: 207.9 kB / 0.6634 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.5181, allocations: 28.88 kB / 0.6634 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.5181, allocations: 15.98 kB / 0.6634 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.5202, allocations: 2.869 MB / 0.6662 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5202, allocations: 7.969 kB / 0.6662 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.5218, allocations: 1.017 MB / 0.6672 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.5222, allocations: 204.6 kB / 0.6674 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5224, allocations: 12 kB / 0.6674 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.5228, allocations: 19.98 kB / 0.6675 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/0.5229, allocations: 39.67 kB / 0.6675 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.523, allocations: 23.98 kB / 0.6675 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006047/0.5236, allocations: 427 kB / 0.6679 GB, free: 408 kB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5236, allocations: 4.062 kB / 0.6679 GB, free: 404 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00132/0.525, allocations: 223.8 kB / 0.6682 GB, free: 180 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.003034/0.528, allocations: 1.711 MB / 0.6698 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.5295, allocations: 0.607 MB / 0.6704 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.505e-06/0.5296, allocations: 4 kB / 0.6704 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5307, allocations: 454.2 kB / 0.6709 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.5328, allocations: 375.5 kB / 0.6712 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.5436, allocations: 6.497 MB / 0.6776 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.5442, allocations: 0.9385 MB / 0.6785 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007763/0.545, allocations: 210.1 kB / 0.6787 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.5454, allocations: 243.2 kB / 0.6789 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of SimCode: time 1.493e-06/0.5454, allocations: 0 / 0.6789 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/0.5982, allocations: 22.54 MB / 0.7009 GB, free: 14.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.9, allocations: 11.88 kB / 0.7009 GB, free: 14.12 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_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.csv","/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