Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 215 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 46.93 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 59.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 66.03 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5846/0.9499, allocations: 195 MB / 0.7511 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007914/0.9578, allocations: 7.52 MB / 0.7584 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.9585, allocations: 25.75 kB / 0.7585 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.9596, allocations: 456.1 kB / 0.7589 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.965, allocations: 2.415 MB / 0.7613 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.9707, allocations: 2.373 MB / 0.7636 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.9734, allocations: 2.22 MB / 0.7657 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.9741, allocations: 0.5168 MB / 0.7662 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.9783, allocations: 1.869 MB / 0.7681 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.9801, allocations: 0.9203 MB / 0.769 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.9803, allocations: 94.62 kB / 0.7691 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009604/0.99, allocations: 5.465 MB / 0.7744 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007782/0.9907, allocations: 443.8 kB / 0.7748 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009558/0.9917, allocations: 0.5353 MB / 0.7753 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.002, allocations: 3.844 MB / 0.7791 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.002, allocations: 0 / 0.7791 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/1.002, allocations: 0.8125 kB / 0.7791 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.655e-05/1.002, allocations: 0 / 0.7791 GB, free: 1.141 MB / 0.5606 GB 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.004519/1.006, allocations: 1.7 MB / 0.7808 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.006, allocations: 11.97 kB / 0.7808 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/1.006, allocations: 126.5 kB / 0.7809 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/1.007, allocations: 114 kB / 0.781 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.008, allocations: 0.5577 MB / 0.7815 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.008, allocations: 176.2 kB / 0.7817 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/1.008, allocations: 71.44 kB / 0.7818 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/1.01, allocations: 1.157 MB / 0.7829 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.01, allocations: 0.8438 kB / 0.7829 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/1.01, allocations: 40.62 kB / 0.783 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/1.01, allocations: 60.5 kB / 0.783 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/1.012, allocations: 1.161 MB / 0.7841 GB, free: 15.66 MB / 0.5762 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.006514/1.018, allocations: 4.925 MB / 0.789 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/1.02, allocations: 0.7901 MB / 0.7897 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/1.02, allocations: 408.8 kB / 0.7901 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/1.021, allocations: 214.6 kB / 0.7903 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.021, allocations: 44.19 kB / 0.7904 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/1.021, allocations: 0 / 0.7904 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01248/1.033, allocations: 3.945 MB / 0.7942 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/1.034, allocations: 111 kB / 0.7943 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/1.034, allocations: 0.6663 MB / 0.795 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/1.034, allocations: 43.3 kB / 0.795 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/1.035, allocations: 390.8 kB / 0.7954 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/1.035, allocations: 306.8 kB / 0.7957 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/1.035, allocations: 198 kB / 0.7959 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.035, allocations: 392.2 kB / 0.7962 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00096/1.036, allocations: 495.7 kB / 0.7967 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.038, allocations: 0.7611 MB / 0.7975 GB, free: 11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/1.04, allocations: 1.281 MB / 0.7987 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.04, allocations: 3.312 kB / 0.7987 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003219/1.043, allocations: 1.662 MB / 0.8003 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.043, allocations: 12 kB / 0.8003 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.043, allocations: 10.44 kB / 0.8004 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006876/1.05, allocations: 1.301 MB / 0.8016 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/1.051, allocations: 161.6 kB / 0.8018 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.053, allocations: 1.532 MB / 0.8033 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/1.054, allocations: 51.39 kB / 0.8033 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.054, allocations: 51.83 kB / 0.8034 GB, free: 9.172 MB / 0.5762 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.0005329/1.055, allocations: 301.4 kB / 0.8037 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.055, allocations: 92.14 kB / 0.8037 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/1.058, allocations: 1.669 MB / 0.8054 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.058, allocations: 16.67 kB / 0.8054 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.058, allocations: 6.312 kB / 0.8054 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.058, allocations: 5.188 kB / 0.8054 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.063, allocations: 2.533 MB / 0.8079 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.063, allocations: 4 kB / 0.8079 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.065, allocations: 258.6 kB / 0.8081 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/1.066, allocations: 377.6 kB / 0.8085 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/1.066, allocations: 32.55 kB / 0.8085 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/1.069, allocations: 2.249 MB / 0.8107 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.069, allocations: 4.031 kB / 0.8107 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/1.073, allocations: 2.037 MB / 0.8127 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/1.074, allocations: 219.3 kB / 0.8129 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.074, allocations: 24 kB / 0.8129 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/1.075, allocations: 55.05 kB / 0.813 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.075, allocations: 68.81 kB / 0.8131 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.076, allocations: 43.97 kB / 0.8131 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007526/1.076, allocations: 0.4951 MB / 0.8136 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 9.203 kB / 0.8136 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002285/1.079, allocations: 0.6896 MB / 0.8143 GB, free: 1.312 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.006838/1.085, allocations: 3.298 MB / 0.8175 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.088, allocations: 1.186 MB / 0.8186 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.088, allocations: 0 / 0.8186 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.09, allocations: 0.6931 MB / 0.8193 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.093, allocations: 0.5215 MB / 0.8198 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.113, allocations: 9.687 MB / 0.8293 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/1.114, allocations: 1.043 MB / 0.8303 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001176/1.115, allocations: 370.3 kB / 0.8307 GB, free: 272 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005932/1.115, allocations: 332 kB / 0.831 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/1.115, allocations: 4 kB / 0.831 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09985/1.215, allocations: 45 MB / 0.8749 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.9, allocations: 5.484 kB / 0.8749 GB, free: 3.262 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.511806902009994]