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.001352/0.001352, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001452/0.001452, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2247/0.2247, allocations: 44.91 MB / 358.8 MB, free: 6.309 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.002811/0.002811, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3825, allocations: 65.48 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6001/0.9826, allocations: 195 MB / 0.7475 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008103/0.9907, allocations: 7.517 MB / 0.7548 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.9914, allocations: 26.31 kB / 0.7549 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.9924, allocations: 453.2 kB / 0.7553 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005256/0.9977, allocations: 2.419 MB / 0.7576 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/1.003, allocations: 2.368 MB / 0.76 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002827/1.006, allocations: 2.227 MB / 0.7621 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/1.006, allocations: 0.5092 MB / 0.7626 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.011, allocations: 1.873 MB / 0.7645 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.012, allocations: 0.9204 MB / 0.7654 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/1.012, allocations: 91.91 kB / 0.7654 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.022, allocations: 5.463 MB / 0.7708 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005676/1.023, allocations: 441 kB / 0.7712 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007784/1.024, allocations: 0.531 MB / 0.7717 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008082/1.032, allocations: 3.849 MB / 0.7755 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.032, allocations: 0 / 0.7755 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/1.032, allocations: 0.9375 kB / 0.7755 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.087e-05/1.032, allocations: 1.203 kB / 0.7755 GB, free: 1.188 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.005481/1.037, allocations: 1.701 MB / 0.7771 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.037, allocations: 8.875 kB / 0.7772 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/1.037, allocations: 126.6 kB / 0.7773 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/1.038, allocations: 112.5 kB / 0.7774 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.039, allocations: 0.5577 MB / 0.7779 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.039, allocations: 174.2 kB / 0.7781 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.039, allocations: 74.61 kB / 0.7782 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.041, allocations: 1.155 MB / 0.7793 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.041, allocations: 3.594 kB / 0.7793 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/1.041, allocations: 38.59 kB / 0.7793 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/1.041, allocations: 58.47 kB / 0.7794 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.043, allocations: 1.162 MB / 0.7805 GB, free: 15.7 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.006811/1.05, allocations: 4.923 MB / 0.7853 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.051, allocations: 0.7861 MB / 0.7861 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/1.052, allocations: 412.8 kB / 0.7865 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/1.052, allocations: 219.7 kB / 0.7867 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.052, allocations: 47.97 kB / 0.7867 GB, free: 13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/1.052, allocations: 0 / 0.7867 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01321/1.065, allocations: 3.939 MB / 0.7906 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/1.066, allocations: 112.7 kB / 0.7907 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/1.067, allocations: 0.6628 MB / 0.7913 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.067, allocations: 44.02 kB / 0.7914 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/1.067, allocations: 391 kB / 0.7918 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/1.067, allocations: 308.5 kB / 0.7921 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/1.068, allocations: 199.4 kB / 0.7922 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002255/1.068, allocations: 391.6 kB / 0.7926 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/1.069, allocations: 499.7 kB / 0.7931 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.07, allocations: 0.7506 MB / 0.7938 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/1.072, allocations: 1.286 MB / 0.7951 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.072, allocations: 5.344 kB / 0.7951 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00372/1.076, allocations: 1.657 MB / 0.7967 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.076, allocations: 8.625 kB / 0.7967 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.076, allocations: 9.125 kB / 0.7967 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007055/1.083, allocations: 1.301 MB / 0.798 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/1.084, allocations: 156.4 kB / 0.7981 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/1.087, allocations: 1.533 MB / 0.7996 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.088, allocations: 55.61 kB / 0.7997 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.088, allocations: 53.89 kB / 0.7997 GB, free: 9.602 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.0006956/1.089, allocations: 297.5 kB / 0.8 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/1.089, allocations: 98.66 kB / 0.8001 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/1.093, allocations: 1.671 MB / 0.8018 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.093, allocations: 9.094 kB / 0.8018 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.093, allocations: 0 / 0.8018 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.093, allocations: 14.64 kB / 0.8018 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/1.098, allocations: 2.535 MB / 0.8043 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.098, allocations: 2.75 kB / 0.8043 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.099, allocations: 256.8 kB / 0.8045 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/1.101, allocations: 378.8 kB / 0.8049 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.101, allocations: 31 kB / 0.8049 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/1.104, allocations: 2.254 MB / 0.8071 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.104, allocations: 4.031 kB / 0.8071 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/1.108, allocations: 2.037 MB / 0.8091 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/1.109, allocations: 210.9 kB / 0.8093 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.109, allocations: 27.02 kB / 0.8093 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/1.11, allocations: 54.95 kB / 0.8094 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.11, allocations: 70.59 kB / 0.8094 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.11, allocations: 46.41 kB / 0.8095 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007613/1.111, allocations: 0.4948 MB / 0.81 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.111, allocations: 0 / 0.81 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002749/1.114, allocations: 0.691 MB / 0.8106 GB, free: 2.898 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.007104/1.121, allocations: 3.308 MB / 0.8139 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003187/1.124, allocations: 1.184 MB / 0.815 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.124, allocations: 4 kB / 0.815 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.126, allocations: 0.6849 MB / 0.8157 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.129, allocations: 0.5288 MB / 0.8162 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/1.151, allocations: 9.684 MB / 0.8257 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.152, allocations: 1.043 MB / 0.8267 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001374/1.153, allocations: 366.7 kB / 0.827 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/1.154, allocations: 335.3 kB / 0.8274 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/1.154, allocations: 0 / 0.8274 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/1.26, allocations: 45.01 MB / 0.8713 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.38, allocations: 11.75 kB / 0.8713 GB, free: 5.266 MB / 0.6387 GB " [Timeout remaining time 643] (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.992233715951443]