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.001226/0.001226, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001371/0.001371, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2058/0.2058, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001572/0.001572, allocations: 64.42 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09971, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4405/0.5403, allocations: 196.4 MB / 0.6221 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5544, allocations: 10.29 MB / 0.6322 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.5559, allocations: 19.88 kB / 0.6322 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5574, allocations: 437.5 kB / 0.6326 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008336/0.5658, allocations: 2.575 MB / 0.6351 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007303/0.5731, allocations: 2.645 MB / 0.6377 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003231/0.5763, allocations: 2.197 MB / 0.6398 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.5772, allocations: 0.596 MB / 0.6404 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/0.5817, allocations: 1.958 MB / 0.6423 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.583, allocations: 0.8644 MB / 0.6432 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.5832, allocations: 96 kB / 0.6433 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009672/0.5929, allocations: 5.557 MB / 0.6487 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005529/0.5935, allocations: 430.9 kB / 0.6491 GB, free: 3.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007467/0.5942, allocations: 0.5291 MB / 0.6496 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007828/0.6021, allocations: 4.053 MB / 0.6536 GB, free: 14.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6021, allocations: 0 / 0.6536 GB, free: 14.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6021, allocations: 0 / 0.6536 GB, free: 14.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6021, allocations: 4 kB / 0.6536 GB, free: 14.58 MB / 478.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.003863/0.606, allocations: 1.801 MB / 0.6554 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.606, allocations: 11.89 kB / 0.6554 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.6062, allocations: 130.5 kB / 0.6555 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.6066, allocations: 110.9 kB / 0.6556 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.6075, allocations: 0.5897 MB / 0.6562 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.6076, allocations: 121.4 kB / 0.6563 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.6077, allocations: 71.91 kB / 0.6564 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.6094, allocations: 1.166 MB / 0.6575 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.6095, allocations: 4 kB / 0.6575 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.6096, allocations: 35.98 kB / 0.6575 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-05/0.6097, allocations: 57.97 kB / 0.6576 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.6114, allocations: 1.171 MB / 0.6587 GB, free: 9.152 MB / 478.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.006058/0.6175, allocations: 5.02 MB / 0.6636 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.6191, allocations: 0.8281 MB / 0.6644 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.6197, allocations: 430.2 kB / 0.6649 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.6211, allocations: 1.88 MB / 0.6667 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6212, allocations: 55 kB / 0.6667 GB, free: 212 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/0.6212, allocations: 0 / 0.6667 GB, free: 212 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01339/0.6346, allocations: 4.024 MB / 0.6707 GB, free: 12.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.6347, allocations: 115.5 kB / 0.6708 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/0.6356, allocations: 0.6602 MB / 0.6714 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.6357, allocations: 45.7 kB / 0.6715 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.6359, allocations: 379.5 kB / 0.6718 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.6362, allocations: 295.9 kB / 0.6721 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.6366, allocations: 202.4 kB / 0.6723 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.6369, allocations: 386.8 kB / 0.6727 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.6379, allocations: 497.7 kB / 0.6732 GB, free: 9.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.6393, allocations: 0.7571 MB / 0.6739 GB, free: 8.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.6416, allocations: 1.285 MB / 0.6751 GB, free: 7.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6416, allocations: 4 kB / 0.6751 GB, free: 7.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003486/0.6451, allocations: 1.684 MB / 0.6768 GB, free: 5.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6452, allocations: 8 kB / 0.6768 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.6452, allocations: 8 kB / 0.6768 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007211/0.6524, allocations: 1.336 MB / 0.6781 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.6531, allocations: 159.7 kB / 0.6783 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.6557, allocations: 1.541 MB / 0.6798 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.6566, allocations: 52.02 kB / 0.6798 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6567, allocations: 63.97 kB / 0.6799 GB, free: 2.367 MB / 494.1 MB 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.000465/0.6572, allocations: 293.5 kB / 0.6802 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.6574, allocations: 83.16 kB / 0.6802 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.6607, allocations: 1.647 MB / 0.6818 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6608, allocations: 8 kB / 0.6819 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6608, allocations: 7.922 kB / 0.6819 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6608, allocations: 3.984 kB / 0.6819 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.665, allocations: 2.564 MB / 0.6844 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.665, allocations: 3.938 kB / 0.6844 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.6663, allocations: 259.7 kB / 0.6846 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.668, allocations: 373.6 kB / 0.685 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.6681, allocations: 35.98 kB / 0.685 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.6705, allocations: 2.347 MB / 0.6873 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6705, allocations: 4.031 kB / 0.6873 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.6741, allocations: 2.018 MB / 0.6893 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.6745, allocations: 292 kB / 0.6896 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.6747, allocations: 20 kB / 0.6896 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/0.6755, allocations: 51.95 kB / 0.6896 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6756, allocations: 64.91 kB / 0.6897 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.6758, allocations: 51.97 kB / 0.6897 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005811/0.6763, allocations: 0.4989 MB / 0.6902 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6764, allocations: 0 / 0.6902 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001785/0.6781, allocations: 0.7104 MB / 0.6909 GB, free: 6.727 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.005898/0.6841, allocations: 3.363 MB / 0.6942 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.6873, allocations: 1.444 MB / 0.6956 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6873, allocations: 0 / 0.6956 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.689, allocations: 0.7173 MB / 0.6963 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.6913, allocations: 0.5196 MB / 0.6968 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.7085, allocations: 10.08 MB / 0.7067 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.7094, allocations: 1.051 MB / 0.7077 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001728/0.7112, allocations: 307.9 kB / 0.708 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/0.7118, allocations: 343.3 kB / 0.7083 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of SimCode: time 1.573e-06/0.7118, allocations: 0 / 0.7083 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2522/0.964, allocations: 45.18 MB / 0.7524 GB, free: 228.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.72, allocations: 3.969 kB / 0.7524 GB, free: 228.6 MB / 0.545 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches