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.001799/0.001799, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002424/0.002424, allocations: 218 kB / 24.52 MB, free: 3.91 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2338/0.2338, allocations: 46.95 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 71.83 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3718, allocations: 66.02 MB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2914/0.6632, allocations: 168.6 MB / 0.726 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.6735, allocations: 6.803 MB / 0.7327 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005861/0.6741, allocations: 31.69 kB / 0.7327 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.6754, allocations: 413.6 kB / 0.7331 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006823/0.6822, allocations: 2.407 MB / 0.7354 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.329/1.011, allocations: 2.358 MB / 0.7377 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002555/1.014, allocations: 2.215 MB / 0.7399 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/1.014, allocations: 0.5043 MB / 0.7404 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/1.018, allocations: 1.876 MB / 0.7422 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/1.019, allocations: 0.9226 MB / 0.7431 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.019, allocations: 94 kB / 0.7432 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/1.025, allocations: 4.398 MB / 0.7475 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/1.026, allocations: 440 kB / 0.7479 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006294/1.026, allocations: 465.8 kB / 0.7484 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005504/1.032, allocations: 3.681 MB / 0.752 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.032, allocations: 6.859 kB / 0.752 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/1.032, allocations: 0 / 0.752 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.032, allocations: 0.9688 kB / 0.752 GB, free: 3.074 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.00356/1.035, allocations: 1.697 MB / 0.7536 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/1.035, allocations: 9.719 kB / 0.7537 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.192e-05/1.035, allocations: 19.34 kB / 0.7537 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/1.035, allocations: 126.4 kB / 0.7538 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/1.036, allocations: 115 kB / 0.7539 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/1.037, allocations: 0.5577 MB / 0.7544 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/1.037, allocations: 171 kB / 0.7546 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.037, allocations: 70.97 kB / 0.7547 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/1.038, allocations: 1.566 MB / 0.7562 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.038, allocations: 12.42 kB / 0.7562 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/1.039, allocations: 32.86 kB / 0.7563 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/1.039, allocations: 59.25 kB / 0.7563 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/1.04, allocations: 1.158 MB / 0.7574 GB, free: 17.11 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.005185/1.045, allocations: 3.809 MB / 0.7612 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.047, allocations: 0.7849 MB / 0.7619 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/1.047, allocations: 407.8 kB / 0.7623 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/1.048, allocations: 212.1 kB / 0.7625 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.048, allocations: 42.84 kB / 0.7626 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/1.048, allocations: 0.9062 kB / 0.7626 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01236/1.06, allocations: 3.944 MB / 0.7664 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/1.06, allocations: 116.2 kB / 0.7665 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/1.061, allocations: 0.6599 MB / 0.7672 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.078e-05/1.061, allocations: 42.94 kB / 0.7672 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/1.061, allocations: 396.3 kB / 0.7676 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/1.061, allocations: 300.7 kB / 0.7679 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/1.062, allocations: 196.8 kB / 0.7681 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.062, allocations: 391.1 kB / 0.7684 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/1.063, allocations: 0.4884 MB / 0.7689 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/1.064, allocations: 0.808 MB / 0.7697 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.066, allocations: 1.284 MB / 0.7709 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.066, allocations: 3.906 kB / 0.771 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002989/1.069, allocations: 1.658 MB / 0.7726 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.069, allocations: 12.7 kB / 0.7726 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.069, allocations: 8.734 kB / 0.7726 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006772/1.075, allocations: 1.3 MB / 0.7739 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.076, allocations: 154.2 kB / 0.774 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/1.079, allocations: 1.528 MB / 0.7755 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/1.079, allocations: 54.7 kB / 0.7756 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.08, allocations: 55.78 kB / 0.7756 GB, free: 12.85 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.0004933/1.08, allocations: 302.4 kB / 0.7759 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.08, allocations: 90.45 kB / 0.776 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/1.083, allocations: 1.676 MB / 0.7776 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.083, allocations: 8.969 kB / 0.7776 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.083, allocations: 2.953 kB / 0.7776 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.083, allocations: 3.828 kB / 0.7776 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/1.087, allocations: 2.382 MB / 0.78 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.087, allocations: 3.938 kB / 0.78 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.089, allocations: 262.9 kB / 0.7802 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.09, allocations: 374.8 kB / 0.7806 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/1.09, allocations: 30.31 kB / 0.7806 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/1.093, allocations: 2.253 MB / 0.7828 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.093, allocations: 3.312 kB / 0.7828 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/1.097, allocations: 2.036 MB / 0.7848 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/1.098, allocations: 221.7 kB / 0.785 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.098, allocations: 25.38 kB / 0.785 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/1.099, allocations: 51.83 kB / 0.7851 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.099, allocations: 65.3 kB / 0.7851 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.099, allocations: 44.58 kB / 0.7852 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006687/1.1, allocations: 0.4974 MB / 0.7857 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.1, allocations: 1.203 kB / 0.7857 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002025/1.102, allocations: 0.6919 MB / 0.7863 GB, free: 9.812 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.005985/1.108, allocations: 3.302 MB / 0.7896 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.11, allocations: 1.194 MB / 0.7907 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.11, allocations: 2.969 kB / 0.7907 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.112, allocations: 0.693 MB / 0.7914 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.114, allocations: 0.5271 MB / 0.7919 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.129, allocations: 9.68 MB / 0.8014 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/1.129, allocations: 446.5 kB / 0.8018 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001044/1.13, allocations: 381.2 kB / 0.8022 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/1.131, allocations: 333 kB / 0.8025 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/1.131, allocations: 0 / 0.8025 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08858/1.22, allocations: 44.96 MB / 0.8464 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/16.22, allocations: 8 kB / 0.8464 GB, free: 12.4 MB / 0.6231 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: 20.21165066503454]