Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.0009631/0.0009632, allocations: 108.2 kB / 15.99 MB, free: 6.336 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.001092/0.001092, allocations: 194 kB / 16.9 MB, free: 6.188 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.283/1.283, allocations: 205.1 MB / 222.8 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4023/0.4023, allocations: 43.49 MB / 313.6 MB, free: 8.461 MB / 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.001597/0.001597, allocations: 63.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5034/0.6357, allocations: 194.7 MB / 0.6199 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4413/1.077, allocations: 10.32 MB / 0.63 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/1.078, allocations: 27.41 kB / 0.63 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/1.079, allocations: 395.7 kB / 0.6304 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008966/1.088, allocations: 2.381 MB / 0.6327 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009733/1.098, allocations: 2.435 MB / 0.6351 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004858/1.103, allocations: 2.195 MB / 0.6372 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.105, allocations: 0.5921 MB / 0.6378 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007664/1.112, allocations: 1.914 MB / 0.6397 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/1.114, allocations: 0.9263 MB / 0.6406 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/1.115, allocations: 94.64 kB / 0.6407 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/1.129, allocations: 5.768 MB / 0.6463 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.13, allocations: 430.6 kB / 0.6467 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.131, allocations: 0.5335 MB / 0.6472 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/1.149, allocations: 4.206 MB / 0.6513 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.24e-05/1.149, allocations: 4.656 kB / 0.6513 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.787e-06/1.149, allocations: 0 / 0.6513 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.144e-05/1.149, allocations: 0.7812 kB / 0.6513 GB, free: 0.8555 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007598/1.157, allocations: 1.786 MB / 0.6531 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/1.157, allocations: 14.08 kB / 0.6531 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/1.157, allocations: 127.7 kB / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/1.158, allocations: 112.5 kB / 0.6533 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.159, allocations: 0.5938 MB / 0.6539 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/1.159, allocations: 120.6 kB / 0.654 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.159, allocations: 69.8 kB / 0.6541 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/1.162, allocations: 1.168 MB / 0.6552 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/1.162, allocations: 17.16 kB / 0.6553 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.162, allocations: 32.28 kB / 0.6553 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-05/1.162, allocations: 56.56 kB / 0.6553 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/1.164, allocations: 1.172 MB / 0.6565 GB, free: 15.33 MB / 0.4981 GB 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.00767/1.172, allocations: 4.993 MB / 0.6614 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/1.174, allocations: 0.8281 MB / 0.6622 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/1.175, allocations: 425.1 kB / 0.6626 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.176, allocations: 1.888 MB / 0.6644 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.176, allocations: 46.7 kB / 0.6645 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.454e-06/1.176, allocations: 0 / 0.6645 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01518/1.192, allocations: 4.03 MB / 0.6684 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.192, allocations: 112.6 kB / 0.6685 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.193, allocations: 0.6612 MB / 0.6691 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.193, allocations: 47.67 kB / 0.6692 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/1.193, allocations: 380.3 kB / 0.6696 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.194, allocations: 291.6 kB / 0.6698 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/1.194, allocations: 200.8 kB / 0.67 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.194, allocations: 388.3 kB / 0.6704 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.195, allocations: 498.5 kB / 0.6709 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/1.197, allocations: 0.7545 MB / 0.6716 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/1.199, allocations: 1.285 MB / 0.6729 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.199, allocations: 3.719 kB / 0.6729 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003692/1.203, allocations: 1.688 MB / 0.6745 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/1.203, allocations: 14.45 kB / 0.6745 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.203, allocations: 8.125 kB / 0.6745 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/1.21, allocations: 1.337 MB / 0.6758 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/1.211, allocations: 157.4 kB / 0.676 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/1.214, allocations: 1.539 MB / 0.6775 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.215, allocations: 82.91 kB / 0.6776 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.215, allocations: 66.3 kB / 0.6776 GB, free: 7.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0007434/1.216, allocations: 303.7 kB / 0.6779 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.216, allocations: 82.94 kB / 0.678 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/1.22, allocations: 1.635 MB / 0.6796 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.22, allocations: 11.78 kB / 0.6796 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.22, allocations: 0 / 0.6796 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.22, allocations: 4.922 kB / 0.6796 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/1.225, allocations: 2.552 MB / 0.6821 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.225, allocations: 2.25 kB / 0.6821 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.226, allocations: 268.8 kB / 0.6824 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/1.228, allocations: 382.8 kB / 0.6827 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.228, allocations: 36.81 kB / 0.6828 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/1.231, allocations: 2.347 MB / 0.6851 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.231, allocations: 2.531 kB / 0.6851 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/1.235, allocations: 2.022 MB / 0.687 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/1.236, allocations: 291.3 kB / 0.6873 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.237, allocations: 24.75 kB / 0.6873 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/1.237, allocations: 73.38 kB / 0.6874 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.238, allocations: 67.34 kB / 0.6875 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.238, allocations: 51.59 kB / 0.6875 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000936/1.239, allocations: 0.4977 MB / 0.688 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.239, allocations: 2.344 kB / 0.688 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0034/1.242, allocations: 0.7068 MB / 0.6887 GB, free: 2.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008444/1.251, allocations: 3.377 MB / 0.692 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004125/1.255, allocations: 1.449 MB / 0.6934 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.255, allocations: 0 / 0.6934 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.257, allocations: 0.7112 MB / 0.6941 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.26, allocations: 0.5166 MB / 0.6946 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.281, allocations: 10.35 MB / 0.7047 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/1.281, allocations: 1.044 MB / 0.7057 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001334/1.283, allocations: 307.9 kB / 0.706 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/1.283, allocations: 348.7 kB / 0.7064 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/1.283, allocations: 0 / 0.7064 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.422, allocations: 44.98 MB / 0.7503 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/1.422, allocations: 289.9 kB / 0.7506 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.563/4.985, allocations: 0 / 0.7506 GB, free: 6.648 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches