Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008825/0.0008825, allocations: 100.3 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9101/0.9101, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2467/0.2467, allocations: 34.24 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 376.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.687e-05, allocations: 3.859 kB / 376.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3224/0.3224, allocations: 168.6 MB / 0.5326 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.3288, allocations: 6.821 MB / 0.5392 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.3292, allocations: 29.16 kB / 0.5393 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009698/0.3302, allocations: 421.7 kB / 0.5397 GB, free: 11.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.3346, allocations: 2.452 MB / 0.5421 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.3391, allocations: 2.409 MB / 0.5444 GB, free: 8.566 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3415, allocations: 2.236 MB / 0.5466 GB, free: 7.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.3423, allocations: 0.5408 MB / 0.5471 GB, free: 6.875 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.3458, allocations: 2.155 MB / 0.5492 GB, free: 5.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3469, allocations: 0.8384 MB / 0.5501 GB, free: 5.105 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.3471, allocations: 93.59 kB / 0.5501 GB, free: 5.105 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.3532, allocations: 4.306 MB / 0.5544 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.3538, allocations: 462.8 kB / 0.5548 GB, free: 1.039 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.3542, allocations: 403.2 kB / 0.5552 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.3593, allocations: 4.11 MB / 0.5592 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3593, allocations: 4 kB / 0.5592 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3593, allocations: 3.984 kB / 0.5592 GB, free: 12.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.3594, allocations: 0 / 0.5592 GB, free: 12.52 MB / 442.7 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.003051/0.3624, allocations: 1.693 MB / 0.5609 GB, free: 10.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3625, allocations: 8.031 kB / 0.5609 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.3626, allocations: 118.5 kB / 0.561 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.363, allocations: 199.1 kB / 0.5612 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.3639, allocations: 0.5909 MB / 0.5617 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.364, allocations: 160.8 kB / 0.5619 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.3641, allocations: 75.97 kB / 0.562 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3654, allocations: 1.564 MB / 0.5635 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3654, allocations: 3.938 kB / 0.5635 GB, free: 7.863 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.3655, allocations: 28 kB / 0.5635 GB, free: 7.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.3656, allocations: 61.97 kB / 0.5636 GB, free: 7.773 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.3668, allocations: 1.151 MB / 0.5647 GB, free: 6.621 MB / 442.7 MB 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.003712/0.3705, allocations: 3.815 MB / 0.5684 GB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3718, allocations: 0.7899 MB / 0.5692 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.3723, allocations: 402.6 kB / 0.5696 GB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.3727, allocations: 212.5 kB / 0.5698 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3727, allocations: 43.22 kB / 0.5698 GB, free: 1.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/0.3727, allocations: 0 / 0.5698 GB, free: 1.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.00717/0.3799, allocations: 3.965 MB / 0.5737 GB, free: 13.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3799, allocations: 111.5 kB / 0.5738 GB, free: 13.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.3806, allocations: 0.6758 MB / 0.5745 GB, free: 12.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.3806, allocations: 41.7 kB / 0.5745 GB, free: 12.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3809, allocations: 392.4 kB / 0.5749 GB, free: 12.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.3811, allocations: 301.4 kB / 0.5752 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3813, allocations: 198.5 kB / 0.5754 GB, free: 11.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3815, allocations: 386.8 kB / 0.5757 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.3821, allocations: 0.4899 MB / 0.5762 GB, free: 10.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.3828, allocations: 0.8064 MB / 0.577 GB, free: 9.715 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3842, allocations: 1.281 MB / 0.5782 GB, free: 8.332 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3842, allocations: 8 kB / 0.5783 GB, free: 8.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002078/0.3862, allocations: 1.701 MB / 0.5799 GB, free: 6.609 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3863, allocations: 8 kB / 0.5799 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3863, allocations: 8 kB / 0.5799 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/0.3898, allocations: 1.31 MB / 0.5812 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3901, allocations: 155.7 kB / 0.5814 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.3921, allocations: 1.544 MB / 0.5829 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3926, allocations: 56.02 kB / 0.5829 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/0.3927, allocations: 59.91 kB / 0.583 GB, free: 3.453 MB / 458.7 MB 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.0003505/0.393, allocations: 293.5 kB / 0.5833 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3932, allocations: 111.5 kB / 0.5834 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.3954, allocations: 1.674 MB / 0.585 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3954, allocations: 8 kB / 0.585 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3954, allocations: 6.188 kB / 0.585 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3954, allocations: 3.984 kB / 0.585 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3981, allocations: 2.379 MB / 0.5873 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3981, allocations: 4.188 kB / 0.5873 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.3987, allocations: 263.7 kB / 0.5876 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.3996, allocations: 368.4 kB / 0.5879 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.3996, allocations: 35.97 kB / 0.588 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.4015, allocations: 2.252 MB / 0.5902 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4015, allocations: 3.125 kB / 0.5902 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.4037, allocations: 2.056 MB / 0.5922 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.404, allocations: 223.2 kB / 0.5924 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.4041, allocations: 20 kB / 0.5924 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.4045, allocations: 56.03 kB / 0.5925 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.4046, allocations: 68.81 kB / 0.5925 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.4046, allocations: 47.97 kB / 0.5926 GB, free: 9.348 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000419/0.405, allocations: 0.499 MB / 0.5931 GB, free: 8.852 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.405, allocations: 0 / 0.5931 GB, free: 8.852 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001638/0.4067, allocations: 0.6857 MB / 0.5937 GB, free: 8.164 MB / 474.7 MB 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.004064/0.4107, allocations: 3.383 MB / 0.597 GB, free: 4.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4122, allocations: 1.189 MB / 0.5982 GB, free: 3.547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4123, allocations: 4.312 kB / 0.5982 GB, free: 3.543 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009659/0.4132, allocations: 0.693 MB / 0.5989 GB, free: 2.852 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4145, allocations: 0.5194 MB / 0.5994 GB, free: 2.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.425, allocations: 9.694 MB / 0.6089 GB, free: 8.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4253, allocations: 451.7 kB / 0.6093 GB, free: 7.809 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006506/0.426, allocations: 372.9 kB / 0.6096 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4263, allocations: 328.4 kB / 0.61 GB, free: 7.133 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4263, allocations: 0 / 0.61 GB, free: 7.133 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/0.6443, allocations: 45.31 MB / 0.6542 GB, free: 168.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/9.619, allocations: 9.266 kB / 0.6542 GB, free: 168.4 MB / 490.7 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.804642355069518]