Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.001318/0.001318, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001448/0.001448, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.229, allocations: 52.18 MB / 422.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3729/0.602, allocations: 130.3 MB / 0.5399 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.6035, allocations: 1.426 MB / 0.5413 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.6035, allocations: 2.469 kB / 0.5413 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.6039, allocations: 56.92 kB / 0.5413 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.6042, allocations: 158.2 kB / 0.5415 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.6065, allocations: 1.04 MB / 0.5425 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.6069, allocations: 326.1 kB / 0.5428 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.607, allocations: 10.06 kB / 0.5428 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.6072, allocations: 160.9 kB / 0.543 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.6074, allocations: 125.1 kB / 0.5431 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.6075, allocations: 13.25 kB / 0.5431 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.6095, allocations: 1.323 MB / 0.5444 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.6096, allocations: 69.2 kB / 0.5445 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.6098, allocations: 89.83 kB / 0.5445 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6112, allocations: 0.9467 MB / 0.5455 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6112, allocations: 2.906 kB / 0.5455 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6112, allocations: 0 / 0.5455 GB, free: 1.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.6112, allocations: 0 / 0.5455 GB, free: 1.199 MB / 446.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.001644/0.6128, allocations: 0.6007 MB / 0.5461 GB, free: 16.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6129, allocations: 12.47 kB / 0.5461 GB, free: 16.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.6129, allocations: 51.69 kB / 0.5461 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.613, allocations: 20 kB / 0.5461 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.6133, allocations: 163.6 kB / 0.5463 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6133, allocations: 13.36 kB / 0.5463 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.6133, allocations: 13.56 kB / 0.5463 GB, free: 16.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.6139, allocations: 373.3 kB / 0.5467 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.6139, allocations: 0 / 0.5467 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.6139, allocations: 7.156 kB / 0.5467 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.614, allocations: 10.28 kB / 0.5467 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.6145, allocations: 260.4 kB / 0.5469 GB, free: 16.46 MB / 462.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.001256/0.6158, allocations: 0.6499 MB / 0.5476 GB, free: 16.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.6163, allocations: 220.2 kB / 0.5478 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.6166, allocations: 126.3 kB / 0.5479 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.6167, allocations: 54.44 kB / 0.548 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6168, allocations: 37.2 kB / 0.548 GB, free: 15.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.6168, allocations: 0 / 0.548 GB, free: 15.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002094/0.6188, allocations: 0.6802 MB / 0.5487 GB, free: 15.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.6189, allocations: 82.84 kB / 0.5487 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.619, allocations: 121.9 kB / 0.5489 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.619, allocations: 35.61 kB / 0.5489 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.6191, allocations: 106.8 kB / 0.549 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.6192, allocations: 139.1 kB / 0.5491 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.6192, allocations: 63.36 kB / 0.5492 GB, free: 15.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6194, allocations: 327.5 kB / 0.5495 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.6197, allocations: 134.4 kB / 0.5496 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.6201, allocations: 210.4 kB / 0.5498 GB, free: 15.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.6207, allocations: 362 kB / 0.5502 GB, free: 14.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6207, allocations: 4.094 kB / 0.5502 GB, free: 14.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007996/0.6215, allocations: 410.1 kB / 0.5506 GB, free: 14.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6215, allocations: 7.922 kB / 0.5506 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6216, allocations: 2.406 kB / 0.5506 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6216, allocations: 7 kB / 0.5506 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.622, allocations: 88.5 kB / 0.5507 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.622, allocations: 8.312 kB / 0.5507 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.6223, allocations: 27.94 kB / 0.5507 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.6223, allocations: 15.45 kB / 0.5507 GB, free: 14.93 MB / 462.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.0001408/0.6224, allocations: 146.7 kB / 0.5509 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.6225, allocations: 15.62 kB / 0.5509 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.6228, allocations: 168.5 kB / 0.551 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6228, allocations: 8.141 kB / 0.551 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6228, allocations: 5.203 kB / 0.551 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6228, allocations: 7.938 kB / 0.551 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.6243, allocations: 0.693 MB / 0.5517 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6243, allocations: 3.344 kB / 0.5517 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.6247, allocations: 73.77 kB / 0.5518 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6247, allocations: 4 kB / 0.5518 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.6247, allocations: 21.88 kB / 0.5518 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.6247, allocations: 3.562 kB / 0.5518 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6247, allocations: 3.625 kB / 0.5518 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.6259, allocations: 0.7114 MB / 0.5525 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.626, allocations: 44.41 kB / 0.5526 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.626, allocations: 13.12 kB / 0.5526 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.6264, allocations: 21.33 kB / 0.5526 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.6264, allocations: 30.02 kB / 0.5526 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.6264, allocations: 15.06 kB / 0.5526 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.6265, allocations: 100.1 kB / 0.5527 GB, free: 14.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6265, allocations: 0 / 0.5527 GB, free: 14.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006422/0.6271, allocations: 144.8 kB / 0.5529 GB, free: 14.03 MB / 462.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.001808/0.629, allocations: 1.366 MB / 0.5542 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.6297, allocations: 328.8 kB / 0.5545 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.6297, allocations: 2.906 kB / 0.5545 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.6301, allocations: 167.5 kB / 0.5547 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.6307, allocations: 103.6 kB / 0.5548 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.6349, allocations: 2.819 MB / 0.5575 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.635, allocations: 119.5 kB / 0.5577 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.6354, allocations: 88.41 kB / 0.5577 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.6355, allocations: 61.84 kB / 0.5578 GB, free: 11.39 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6355, allocations: 0 / 0.5578 GB, free: 11.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.6826, allocations: 8.997 MB / 0.5666 GB, free: 10 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.12, allocations: 2.812 kB / 0.5666 GB, free: 10 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.592881785705686]