Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3169/0.3169, allocations: 44.23 MB / 326.5 MB, free: 6.852 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 67.91 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.38, allocations: 61 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6113/0.9913, allocations: 197.1 MB / 0.7034 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01362/1.005, allocations: 10.33 MB / 0.7135 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/1.006, allocations: 20.91 kB / 0.7135 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/1.008, allocations: 453.8 kB / 0.7139 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007383/1.015, allocations: 2.607 MB / 0.7165 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0082/1.023, allocations: 2.668 MB / 0.7191 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00374/1.027, allocations: 2.195 MB / 0.7212 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/1.028, allocations: 0.549 MB / 0.7218 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/1.033, allocations: 1.974 MB / 0.7237 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/1.035, allocations: 0.9206 MB / 0.7246 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/1.035, allocations: 96.12 kB / 0.7247 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/1.047, allocations: 5.886 MB / 0.7304 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008359/1.048, allocations: 437.6 kB / 0.7309 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008367/1.048, allocations: 0.5331 MB / 0.7314 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/1.059, allocations: 4.091 MB / 0.7354 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.059, allocations: 4.5 kB / 0.7354 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/1.059, allocations: 0 / 0.7354 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.059, allocations: 4 kB / 0.7354 GB, free: 5.895 MB / 0.5137 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.004882/1.064, allocations: 1.833 MB / 0.7372 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001184/1.064, allocations: 19.81 kB / 0.7372 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/1.064, allocations: 126.5 kB / 0.7373 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/1.065, allocations: 119.3 kB / 0.7374 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.066, allocations: 0.6289 MB / 0.738 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.066, allocations: 119.7 kB / 0.7381 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.066, allocations: 69.98 kB / 0.7382 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/1.068, allocations: 1.164 MB / 0.7394 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.068, allocations: 4 kB / 0.7394 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/1.068, allocations: 39.2 kB / 0.7394 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/1.068, allocations: 61.91 kB / 0.7395 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.07, allocations: 1.171 MB / 0.7406 GB, free: 428 kB / 0.5137 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.008117/1.078, allocations: 5.004 MB / 0.7455 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/1.08, allocations: 0.795 MB / 0.7463 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/1.081, allocations: 402.3 kB / 0.7466 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/1.083, allocations: 1.885 MB / 0.7485 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/1.083, allocations: 47.12 kB / 0.7485 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.976e-06/1.083, allocations: 4 kB / 0.7485 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.0144/1.097, allocations: 4.027 MB / 0.7525 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/1.097, allocations: 115.5 kB / 0.7526 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/1.098, allocations: 0.6642 MB / 0.7532 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.099, allocations: 37.7 kB / 0.7533 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.099, allocations: 391.6 kB / 0.7536 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/1.099, allocations: 313.7 kB / 0.7539 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.1, allocations: 202.5 kB / 0.7541 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002839/1.1, allocations: 386.8 kB / 0.7545 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.101, allocations: 497.7 kB / 0.755 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.102, allocations: 0.7562 MB / 0.7557 GB, free: 40 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.105, allocations: 1.289 MB / 0.757 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.105, allocations: 7.938 kB / 0.757 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003878/1.109, allocations: 1.673 MB / 0.7586 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.109, allocations: 8 kB / 0.7586 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.109, allocations: 8 kB / 0.7586 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/1.116, allocations: 1.33 MB / 0.7599 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/1.117, allocations: 151.7 kB / 0.7601 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.12, allocations: 1.549 MB / 0.7616 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/1.121, allocations: 47.91 kB / 0.7616 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/1.121, allocations: 63.98 kB / 0.7617 GB, free: 9.77 MB / 0.545 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.0005743/1.122, allocations: 293.5 kB / 0.762 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.122, allocations: 91.48 kB / 0.7621 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/1.126, allocations: 1.623 MB / 0.7636 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.126, allocations: 12 kB / 0.7636 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/1.126, allocations: 7.875 kB / 0.7637 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.126, allocations: 3.984 kB / 0.7637 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/1.131, allocations: 2.55 MB / 0.7662 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.131, allocations: 8.156 kB / 0.7662 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.132, allocations: 255.7 kB / 0.7664 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/1.134, allocations: 372.4 kB / 0.7668 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/1.134, allocations: 31.98 kB / 0.7668 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/1.137, allocations: 2.362 MB / 0.7691 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.137, allocations: 3.938 kB / 0.7691 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/1.141, allocations: 2.019 MB / 0.7711 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008035/1.142, allocations: 296.4 kB / 0.7714 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.142, allocations: 27.98 kB / 0.7714 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/1.143, allocations: 51.95 kB / 0.7714 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.143, allocations: 64.84 kB / 0.7715 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.143, allocations: 51.97 kB / 0.7715 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007179/1.144, allocations: 0.499 MB / 0.772 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.144, allocations: 0 / 0.772 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002484/1.146, allocations: 0.7168 MB / 0.7727 GB, free: 14.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.007218/1.154, allocations: 3.372 MB / 0.776 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002969/1.157, allocations: 1.198 MB / 0.7772 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.157, allocations: 4.062 kB / 0.7772 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.159, allocations: 0.6813 MB / 0.7779 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.161, allocations: 0.5231 MB / 0.7784 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.181, allocations: 9.686 MB / 0.7878 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.182, allocations: 1.046 MB / 0.7889 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001158/1.183, allocations: 307.9 kB / 0.7891 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/1.183, allocations: 343.3 kB / 0.7895 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/1.183, allocations: 0 / 0.7895 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.289, allocations: 45.7 MB / 0.8341 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.55, allocations: 15.91 kB / 0.8341 GB, free: 14.82 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.073392402846366]