Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001692/0.001692, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002136/0.002136, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.93 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2408/0.6035, allocations: 168.7 MB / 0.7218 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.6157, allocations: 6.819 MB / 0.7284 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.6166, allocations: 27.75 kB / 0.7284 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.6182, allocations: 417.6 kB / 0.7288 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007289/0.6255, allocations: 2.403 MB / 0.7312 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007436/0.6329, allocations: 2.359 MB / 0.7335 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3929/1.026, allocations: 2.203 MB / 0.7356 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/1.027, allocations: 0.5068 MB / 0.7361 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/1.033, allocations: 1.876 MB / 0.738 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.035, allocations: 0.892 MB / 0.7388 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/1.035, allocations: 94.75 kB / 0.7389 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/1.045, allocations: 4.273 MB / 0.7431 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008329/1.046, allocations: 440.9 kB / 0.7435 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/1.047, allocations: 465 kB / 0.744 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008248/1.055, allocations: 3.684 MB / 0.7476 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.055, allocations: 0.6875 kB / 0.7476 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.384e-06/1.055, allocations: 0 / 0.7476 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.821e-05/1.055, allocations: 0.875 kB / 0.7476 GB, free: 3.508 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.004048/1.059, allocations: 1.702 MB / 0.7492 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.059, allocations: 8.562 kB / 0.7492 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/1.059, allocations: 125.1 kB / 0.7494 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/1.06, allocations: 117 kB / 0.7495 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.061, allocations: 0.5578 MB / 0.75 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.061, allocations: 176.1 kB / 0.7502 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.061, allocations: 69.52 kB / 0.7503 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/1.063, allocations: 1.564 MB / 0.7518 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.063, allocations: 8.359 kB / 0.7518 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/1.063, allocations: 32.67 kB / 0.7518 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/1.063, allocations: 60.69 kB / 0.7519 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/1.065, allocations: 1.151 MB / 0.753 GB, free: 17.54 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.005978/1.071, allocations: 3.798 MB / 0.7567 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.072, allocations: 0.7847 MB / 0.7575 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/1.073, allocations: 408 kB / 0.7579 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/1.073, allocations: 206.5 kB / 0.7581 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/1.073, allocations: 45.09 kB / 0.7581 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.936e-06/1.073, allocations: 0 / 0.7581 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01258/1.086, allocations: 3.947 MB / 0.762 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.086, allocations: 114.2 kB / 0.7621 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/1.087, allocations: 0.6797 MB / 0.7627 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.087, allocations: 41.23 kB / 0.7628 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/1.087, allocations: 391.9 kB / 0.7631 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.087, allocations: 308.4 kB / 0.7634 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/1.088, allocations: 195.6 kB / 0.7636 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.088, allocations: 389.8 kB / 0.764 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/1.089, allocations: 494.4 kB / 0.7645 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.09, allocations: 0.8047 MB / 0.7653 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/1.092, allocations: 1.289 MB / 0.7665 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.092, allocations: 2.656 kB / 0.7665 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003211/1.095, allocations: 1.666 MB / 0.7681 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.095, allocations: 11.69 kB / 0.7682 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.095, allocations: 9.938 kB / 0.7682 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006727/1.102, allocations: 1.301 MB / 0.7694 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/1.103, allocations: 157.7 kB / 0.7696 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/1.105, allocations: 1.526 MB / 0.7711 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.106, allocations: 48.94 kB / 0.7711 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.106, allocations: 55.44 kB / 0.7712 GB, free: 13.29 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.0005214/1.107, allocations: 306.4 kB / 0.7715 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.107, allocations: 93.81 kB / 0.7716 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.11, allocations: 1.675 MB / 0.7732 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.11, allocations: 12.88 kB / 0.7732 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.11, allocations: 0 / 0.7732 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.11, allocations: 5.156 kB / 0.7732 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/1.114, allocations: 2.373 MB / 0.7755 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.114, allocations: 6.219 kB / 0.7755 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.115, allocations: 258.8 kB / 0.7758 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/1.117, allocations: 376.9 kB / 0.7761 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/1.117, allocations: 31.14 kB / 0.7762 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/1.12, allocations: 2.258 MB / 0.7784 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.12, allocations: 2 kB / 0.7784 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/1.124, allocations: 2.029 MB / 0.7804 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/1.124, allocations: 219.8 kB / 0.7806 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.125, allocations: 27.5 kB / 0.7806 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/1.125, allocations: 49.83 kB / 0.7806 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.126, allocations: 70.44 kB / 0.7807 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.126, allocations: 44.5 kB / 0.7808 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006792/1.126, allocations: 0.4984 MB / 0.7812 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.126, allocations: 0.875 kB / 0.7812 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002339/1.129, allocations: 0.6982 MB / 0.7819 GB, free: 10.25 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.005942/1.135, allocations: 3.293 MB / 0.7851 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002575/1.137, allocations: 1.188 MB / 0.7863 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.137, allocations: 0 / 0.7863 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.139, allocations: 0.6959 MB / 0.787 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.142, allocations: 0.5264 MB / 0.7875 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.159, allocations: 9.684 MB / 0.7969 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/1.159, allocations: 458.9 kB / 0.7974 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001272/1.161, allocations: 364.6 kB / 0.7977 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/1.161, allocations: 328.3 kB / 0.798 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/1.161, allocations: 3.938 kB / 0.7981 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09463/1.256, allocations: 45.09 MB / 0.8421 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.51, allocations: 6.656 kB / 0.8421 GB, free: 15.66 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.054330135695636]