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.005772/0.005772, allocations: 100 kB / 15.87 MB, free: 6.309 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.001383/0.001383, allocations: 195.3 kB / 16.79 MB, free: 6.238 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.419/1.419, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3347/0.3347, allocations: 43.5 MB / 313.5 MB, free: 8.555 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.001324/0.001325, allocations: 71.91 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4734/0.6092, allocations: 195.9 MB / 0.6209 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3594/0.9686, allocations: 10.61 MB / 0.6313 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.9698, allocations: 28.03 kB / 0.6313 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.9711, allocations: 396.5 kB / 0.6317 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00752/0.9786, allocations: 2.273 MB / 0.6339 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007191/0.9859, allocations: 2.338 MB / 0.6362 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005046/0.9909, allocations: 3.205 MB / 0.6393 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000952/0.9919, allocations: 0.5092 MB / 0.6398 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/0.997, allocations: 1.769 MB / 0.6416 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.9984, allocations: 0.8955 MB / 0.6424 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.9986, allocations: 49.94 kB / 0.6425 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/1.011, allocations: 5.929 MB / 0.6483 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009705/1.012, allocations: 384.6 kB / 0.6486 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.013, allocations: 0.4885 MB / 0.6491 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/1.026, allocations: 4.156 MB / 0.6532 GB, free: 1.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.026, allocations: 1.062 kB / 0.6532 GB, free: 1.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.986e-06/1.026, allocations: 2.719 kB / 0.6532 GB, free: 1.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/1.026, allocations: 1.203 kB / 0.6532 GB, free: 1.156 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.006735/1.032, allocations: 1.798 MB / 0.6549 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.033, allocations: 9.562 kB / 0.6549 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/1.033, allocations: 126.8 kB / 0.6551 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/1.033, allocations: 114.1 kB / 0.6552 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.034, allocations: 0.5885 MB / 0.6557 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.035, allocations: 117.5 kB / 0.6559 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.035, allocations: 68.98 kB / 0.6559 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/1.037, allocations: 1.18 MB / 0.6571 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/1.037, allocations: 5.625 kB / 0.6571 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.037, allocations: 34.36 kB / 0.6571 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/1.037, allocations: 57.03 kB / 0.6572 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/1.039, allocations: 1.168 MB / 0.6583 GB, free: 15.61 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.007295/1.047, allocations: 4.998 MB / 0.6632 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/1.048, allocations: 0.826 MB / 0.664 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/1.049, allocations: 425.4 kB / 0.6644 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.051, allocations: 1.885 MB / 0.6662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.051, allocations: 42.59 kB / 0.6663 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.051, allocations: 0.9375 kB / 0.6663 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01357/1.064, allocations: 4.029 MB / 0.6702 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/1.064, allocations: 111.6 kB / 0.6703 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/1.065, allocations: 0.6663 MB / 0.671 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/1.065, allocations: 44.58 kB / 0.671 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/1.065, allocations: 384.5 kB / 0.6714 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/1.066, allocations: 289.8 kB / 0.6717 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/1.066, allocations: 198.6 kB / 0.6719 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.066, allocations: 390.2 kB / 0.6722 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/1.067, allocations: 496.8 kB / 0.6727 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.068, allocations: 0.7524 MB / 0.6734 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.07, allocations: 1.288 MB / 0.6747 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.07, allocations: 6.562 kB / 0.6747 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003319/1.074, allocations: 1.693 MB / 0.6764 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.074, allocations: 11.83 kB / 0.6764 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.074, allocations: 9.625 kB / 0.6764 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007133/1.081, allocations: 1.321 MB / 0.6777 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/1.082, allocations: 160.8 kB / 0.6778 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/1.084, allocations: 1.528 MB / 0.6793 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.085, allocations: 92.7 kB / 0.6794 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.085, allocations: 61.47 kB / 0.6795 GB, free: 6.965 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.0005642/1.086, allocations: 300.9 kB / 0.6797 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/1.086, allocations: 82.64 kB / 0.6798 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.09, allocations: 1.636 MB / 0.6814 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.09, allocations: 8.25 kB / 0.6814 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.09, allocations: 5.078 kB / 0.6814 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.09, allocations: 3.984 kB / 0.6814 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/1.094, allocations: 2.566 MB / 0.6839 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.094, allocations: 2.969 kB / 0.6839 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.095, allocations: 259.1 kB / 0.6842 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/1.097, allocations: 387.1 kB / 0.6846 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/1.097, allocations: 31.2 kB / 0.6846 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/1.099, allocations: 2.258 MB / 0.6868 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.099, allocations: 2.469 kB / 0.6868 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/1.103, allocations: 2.016 MB / 0.6888 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/1.104, allocations: 295.6 kB / 0.689 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.104, allocations: 20.64 kB / 0.6891 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00089/1.105, allocations: 76.66 kB / 0.6891 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.105, allocations: 66.75 kB / 0.6892 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.105, allocations: 47.59 kB / 0.6892 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006082/1.106, allocations: 0.5004 MB / 0.6897 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.106, allocations: 3.844 kB / 0.6897 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002665/1.108, allocations: 0.7115 MB / 0.6904 GB, free: 1.215 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.006609/1.115, allocations: 3.369 MB / 0.6937 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002551/1.117, allocations: 1.236 MB / 0.6949 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.117, allocations: 0 / 0.6949 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.119, allocations: 0.7125 MB / 0.6956 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.121, allocations: 0.4989 MB / 0.6961 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/1.14, allocations: 10.36 MB / 0.7062 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/1.14, allocations: 1.043 MB / 0.7072 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001239/1.142, allocations: 311.2 kB / 0.7075 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/1.142, allocations: 340.5 kB / 0.7079 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of SimCode: time 1.472e-06/1.142, allocations: 0 / 0.7079 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.263, allocations: 43.96 MB / 0.7508 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/1.263, allocations: 297.7 kB / 0.7511 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/4.314, allocations: 3.938 kB / 0.7511 GB, free: 6.094 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