Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001642/0.001642, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002035/0.002035, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.459/1.459, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] 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.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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 52.55 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.1013, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.403/0.5043, allocations: 153.2 MB / 0.5318 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.5053, allocations: 0.5958 MB / 0.5324 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.5053, allocations: 4 kB / 0.5324 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.5057, allocations: 63.64 kB / 0.5324 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.5061, allocations: 160 kB / 0.5326 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.5094, allocations: 1.098 MB / 0.5337 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.5099, allocations: 330.8 kB / 0.534 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.5099, allocations: 5.453 kB / 0.534 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.5103, allocations: 155.5 kB / 0.5341 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.5105, allocations: 127.6 kB / 0.5343 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.5106, allocations: 12 kB / 0.5343 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.5136, allocations: 1.653 MB / 0.5359 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.5138, allocations: 79.77 kB / 0.536 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.5139, allocations: 91.31 kB / 0.5361 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.5159, allocations: 1.003 MB / 0.537 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5159, allocations: 0 / 0.537 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.991e-06/0.5159, allocations: 4 kB / 0.537 GB, free: 4.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.5159, allocations: 0 / 0.537 GB, free: 4.047 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001983/0.5179, allocations: 0.6889 MB / 0.5377 GB, free: 3.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5179, allocations: 12.03 kB / 0.5377 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.518, allocations: 46.73 kB / 0.5378 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.5182, allocations: 24.83 kB / 0.5378 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.5185, allocations: 215.7 kB / 0.538 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5185, allocations: 12.33 kB / 0.538 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.5185, allocations: 16 kB / 0.538 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.5192, allocations: 261.4 kB / 0.5383 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5192, allocations: 4.812 kB / 0.5383 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.5192, allocations: 8 kB / 0.5383 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.5192, allocations: 8 kB / 0.5383 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.5199, allocations: 263.8 kB / 0.5385 GB, free: 2.398 MB / 414.1 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.001543/0.5215, allocations: 0.793 MB / 0.5393 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.5221, allocations: 213.2 kB / 0.5395 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.5225, allocations: 132.6 kB / 0.5396 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/0.5229, allocations: 360.4 kB / 0.54 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5229, allocations: 38.56 kB / 0.54 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.5229, allocations: 0 / 0.54 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002613/0.5255, allocations: 0.678 MB / 0.5407 GB, free: 12 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.5256, allocations: 81.11 kB / 0.5408 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.5257, allocations: 117.8 kB / 0.5409 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.5257, allocations: 37.7 kB / 0.5409 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.5258, allocations: 108.9 kB / 0.541 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5259, allocations: 137.8 kB / 0.5412 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.526, allocations: 65.64 kB / 0.5412 GB, free: 15.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5262, allocations: 326.8 kB / 0.5415 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.5266, allocations: 131.9 kB / 0.5417 GB, free: 14.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.527, allocations: 211.5 kB / 0.5419 GB, free: 14.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.5279, allocations: 359.4 kB / 0.5422 GB, free: 14.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5279, allocations: 0 / 0.5422 GB, free: 14.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00104/0.529, allocations: 413.3 kB / 0.5426 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.529, allocations: 8 kB / 0.5426 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.529, allocations: 0 / 0.5426 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.529, allocations: 4 kB / 0.5426 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.5295, allocations: 84.09 kB / 0.5427 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5295, allocations: 8 kB / 0.5427 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.5298, allocations: 27.92 kB / 0.5427 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.5299, allocations: 15.98 kB / 0.5427 GB, free: 13.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.5301, allocations: 145.7 kB / 0.5429 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.5301, allocations: 15.91 kB / 0.5429 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.5305, allocations: 183 kB / 0.5431 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5305, allocations: 4 kB / 0.5431 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5306, allocations: 0 / 0.5431 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5306, allocations: 3.984 kB / 0.5431 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.5323, allocations: 0.7637 MB / 0.5438 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5323, allocations: 7.938 kB / 0.5438 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.5328, allocations: 79.88 kB / 0.5439 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5328, allocations: 4 kB / 0.5439 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.5328, allocations: 11.94 kB / 0.5439 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.5328, allocations: 7.625 kB / 0.5439 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5328, allocations: 0 / 0.5439 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.5343, allocations: 0.7049 MB / 0.5446 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.5344, allocations: 124.9 kB / 0.5447 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.5345, allocations: 8.375 kB / 0.5447 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.5349, allocations: 24.05 kB / 0.5448 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.5349, allocations: 23.97 kB / 0.5448 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5349, allocations: 15.98 kB / 0.5448 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.535, allocations: 95.2 kB / 0.5449 GB, free: 11.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.535, allocations: 0 / 0.5449 GB, free: 11.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006404/0.5356, allocations: 147.7 kB / 0.545 GB, free: 11.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002203/0.5378, allocations: 1.372 MB / 0.5464 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.5388, allocations: 331.4 kB / 0.5467 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5388, allocations: 4 kB / 0.5467 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.5393, allocations: 180.3 kB / 0.5469 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.54, allocations: 90.02 kB / 0.5469 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.545, allocations: 2.844 MB / 0.5497 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.5454, allocations: 0.7332 MB / 0.5504 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.5457, allocations: 82.03 kB / 0.5505 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.5459, allocations: 63.41 kB / 0.5506 GB, free: 5.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5459, allocations: 0 / 0.5506 GB, free: 5.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.581, allocations: 8.287 MB / 0.5587 GB, free: 13.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.93, allocations: 4.062 kB / 0.5587 GB, free: 13.06 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 11.433079210997676]