Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.001127/0.001127, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007654/0.0007654, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8778/0.8778, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.226e-05, allocations: 4.672 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02022/0.02024, allocations: 23.8 MB / 342.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.02192, allocations: 2.002 MB / 344.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.02198, allocations: 7.938 kB / 344.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.0223, allocations: 51.67 kB / 344.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.02258, allocations: 158.9 kB / 344.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.03293, allocations: 6.551 MB / 351 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.03324, allocations: 322.7 kB / 351.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.03328, allocations: 5.312 kB / 351.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.03346, allocations: 171.6 kB / 351.5 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.03363, allocations: 111.7 kB / 351.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.03365, allocations: 16 kB / 351.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009531/0.04318, allocations: 8.982 MB / 360.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.04327, allocations: 71.8 kB / 360.7 MB, free: 12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.04334, allocations: 75.83 kB / 360.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.04914, allocations: 5.859 MB / 366.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.04915, allocations: 0 / 366.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.04915, allocations: 0 / 366.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.04916, allocations: 0 / 366.6 MB, free: 6.051 MB / 330.7 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.002068/0.05122, allocations: 1.07 MB / 367.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.05126, allocations: 8.922 kB / 367.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.05131, allocations: 54.73 kB / 367.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.0514, allocations: 24.41 kB / 367.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.0516, allocations: 161 kB / 367.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.05161, allocations: 12.33 kB / 367.9 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.05165, allocations: 23.98 kB / 367.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.05212, allocations: 392.2 kB / 368.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.05213, allocations: 0 / 368.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.05215, allocations: 11.92 kB / 368.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.05216, allocations: 8 kB / 368.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.0526, allocations: 303.8 kB / 368.6 MB, free: 3.895 MB / 330.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.0009586/0.05356, allocations: 0.698 MB / 369.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.05397, allocations: 238.6 kB / 369.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.05414, allocations: 129.9 kB / 369.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005043/0.05919, allocations: 2.709 MB / 372.4 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.05921, allocations: 38.56 kB / 372.4 MB, free: 4 kB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.05921, allocations: 0 / 372.4 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001482/0.06069, allocations: 0.6963 MB / 373.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.06073, allocations: 85.11 kB / 373.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.0608, allocations: 125.7 kB / 373.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.06082, allocations: 37.69 kB / 373.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.06087, allocations: 104.9 kB / 373.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.06094, allocations: 138.8 kB / 373.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.06101, allocations: 69.69 kB / 373.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.06108, allocations: 322.8 kB / 374 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.06129, allocations: 143.8 kB / 374.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.06155, allocations: 207.5 kB / 374.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.06206, allocations: 362.6 kB / 374.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.06206, allocations: 4 kB / 374.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006253/0.06268, allocations: 417.1 kB / 375.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.0627, allocations: 16.16 kB / 375.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.0627, allocations: 0 / 375.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.06272, allocations: 4 kB / 375.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.06294, allocations: 87.88 kB / 375.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.06295, allocations: 4 kB / 375.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.06307, allocations: 27.88 kB / 375.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.0631, allocations: 23.98 kB / 375.3 MB, free: 13.06 MB / 346.7 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 9.721e-05/0.0632, allocations: 141.8 kB / 375.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.06328, allocations: 19.84 kB / 375.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.06356, allocations: 194.2 kB / 375.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.06356, allocations: 4 kB / 375.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.06357, allocations: 8 kB / 375.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.06358, allocations: 3.938 kB / 375.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009676/0.06454, allocations: 0.7031 MB / 376.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.06455, allocations: 3.938 kB / 376.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.06475, allocations: 75.89 kB / 376.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.06475, allocations: 0 / 376.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.06477, allocations: 19.98 kB / 376.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.06477, allocations: 0 / 376.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.06478, allocations: 4 kB / 376.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/0.06562, allocations: 0.7 MB / 377.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.06569, allocations: 51.81 kB / 377.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.06572, allocations: 12 kB / 377.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.06588, allocations: 23.97 kB / 377.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.0659, allocations: 19.97 kB / 377.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.06592, allocations: 23.92 kB / 377.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.06596, allocations: 95.27 kB / 377.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06596, allocations: 3.938 kB / 377.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001586/0.06755, allocations: 0.9511 MB / 378.3 MB, free: 9.898 MB / 346.7 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 (37): * Single equations (assignments): 37 * 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.003454/0.071, allocations: 2.526 MB / 380.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.07156, allocations: 333.2 kB / 381.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.07156, allocations: 0 / 381.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.0718, allocations: 182.8 kB / 381.3 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.07223, allocations: 103.8 kB / 381.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.07555, allocations: 3.088 MB / 384.5 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.07564, allocations: 128.8 kB / 384.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.07585, allocations: 77.89 kB / 384.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.07598, allocations: 76.45 kB / 384.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.07598, allocations: 0 / 384.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.1185, allocations: 33.77 MB / 418.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.104, allocations: 0 / 418.6 MB, free: 1.582 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 10.372075021266937]