Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.001762/0.001762, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.002123/0.002123, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.461/1.461, allocations: 230.4 MB / 254 MB, free: 15.15 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.38 MB / 426.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3905/0.4952, allocations: 154.9 MB / 0.5676 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4972, allocations: 1.617 MB / 0.5692 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.4973, allocations: 0 / 0.5692 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.4977, allocations: 67.64 kB / 0.5693 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.4982, allocations: 175 kB / 0.5694 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.5013, allocations: 1.034 MB / 0.5704 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.5018, allocations: 354.6 kB / 0.5708 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.5018, allocations: 5.562 kB / 0.5708 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.5022, allocations: 167.5 kB / 0.5709 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.5024, allocations: 138.2 kB / 0.5711 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.5024, allocations: 16 kB / 0.5711 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.5056, allocations: 1.675 MB / 0.5727 GB, free: 68 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.5058, allocations: 71.83 kB / 0.5728 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.5059, allocations: 103.5 kB / 0.5729 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.5083, allocations: 1.036 MB / 0.5739 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5083, allocations: 0 / 0.5739 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5083, allocations: 4 kB / 0.5739 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5083, allocations: 0 / 0.5739 GB, free: 14.86 MB / 494.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.001885/0.5101, allocations: 0.7043 MB / 0.5746 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5102, allocations: 20.02 kB / 0.5746 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.5103, allocations: 50.73 kB / 0.5747 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.5104, allocations: 20.84 kB / 0.5747 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.5107, allocations: 223.2 kB / 0.5749 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5107, allocations: 12.33 kB / 0.5749 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.5108, allocations: 19.95 kB / 0.5749 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.5113, allocations: 265.4 kB / 0.5752 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5114, allocations: 0 / 0.5752 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.5114, allocations: 8 kB / 0.5752 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5114, allocations: 7.984 kB / 0.5752 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.5121, allocations: 263.7 kB / 0.5755 GB, free: 13.17 MB / 494.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.001522/0.5136, allocations: 0.7933 MB / 0.5762 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.5143, allocations: 209.3 kB / 0.5764 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.5146, allocations: 135.3 kB / 0.5766 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.515, allocations: 352.3 kB / 0.5769 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.515, allocations: 46.55 kB / 0.5769 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.515, allocations: 0 / 0.5769 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002576/0.5176, allocations: 0.6821 MB / 0.5776 GB, free: 10.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5176, allocations: 85.09 kB / 0.5777 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.5178, allocations: 140.8 kB / 0.5778 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.5178, allocations: 33.7 kB / 0.5778 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.5179, allocations: 120.9 kB / 0.578 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.518, allocations: 130.8 kB / 0.5781 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.5181, allocations: 73.64 kB / 0.5782 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5183, allocations: 326.8 kB / 0.5785 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.5187, allocations: 127.9 kB / 0.5786 GB, free: 9.711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.5191, allocations: 219.4 kB / 0.5788 GB, free: 9.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.52, allocations: 355.5 kB / 0.5791 GB, free: 9.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.52, allocations: 0 / 0.5791 GB, free: 9.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.5211, allocations: 414.7 kB / 0.5795 GB, free: 8.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5211, allocations: 8 kB / 0.5795 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5211, allocations: 0 / 0.5795 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5211, allocations: 4 kB / 0.5795 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.5216, allocations: 87.88 kB / 0.5796 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5217, allocations: 8.219 kB / 0.5796 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.522, allocations: 27.88 kB / 0.5797 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.522, allocations: 19.98 kB / 0.5797 GB, free: 8.535 MB / 494.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.0001759/0.5222, allocations: 149.6 kB / 0.5798 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.5223, allocations: 17.91 kB / 0.5798 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.5227, allocations: 174.8 kB / 0.58 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5227, allocations: 4 kB / 0.58 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5227, allocations: 0 / 0.58 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.5227, allocations: 7.922 kB / 0.58 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.5245, allocations: 0.7715 MB / 0.5808 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5245, allocations: 4 kB / 0.5808 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.525, allocations: 79.88 kB / 0.5809 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.525, allocations: 4 kB / 0.5809 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.525, allocations: 11.94 kB / 0.5809 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.525, allocations: 7.984 kB / 0.5809 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.525, allocations: 3.938 kB / 0.5809 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5266, allocations: 0.7105 MB / 0.5816 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.5267, allocations: 124.9 kB / 0.5817 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.5268, allocations: 8 kB / 0.5817 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.5271, allocations: 29.59 kB / 0.5817 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5272, allocations: 27.91 kB / 0.5818 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.5272, allocations: 15.98 kB / 0.5818 GB, free: 6.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.5273, allocations: 109.2 kB / 0.5819 GB, free: 6.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5273, allocations: 0 / 0.5819 GB, free: 6.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.5279, allocations: 155.6 kB / 0.582 GB, free: 5.996 MB / 494.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.00236/0.5303, allocations: 1.404 MB / 0.5834 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.5313, allocations: 320.7 kB / 0.5837 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5313, allocations: 0 / 0.5837 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.5318, allocations: 173.2 kB / 0.5839 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5325, allocations: 103.8 kB / 0.584 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.5378, allocations: 2.938 MB / 0.5868 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.5382, allocations: 0.7452 MB / 0.5876 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.5386, allocations: 74.39 kB / 0.5876 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5388, allocations: 79.45 kB / 0.5877 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5388, allocations: 0 / 0.5877 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.5734, allocations: 8.617 MB / 0.5961 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/9.033, allocations: 4.938 kB / 0.5961 GB, free: 7.414 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.537796969991177]